diff options
author | Alexander Fokin <apfokin@gmail.com> | 2022-02-10 16:45:38 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:38 +0300 |
commit | 863a59a65247c24db7cb06789bc5cf79d04da32f (patch) | |
tree | 139dc000c8cd4a40f5659e421b7c75135d080307 /library/cpp/logger | |
parent | f64e95a9eb9ab03240599eb9581c5a9102426a96 (diff) | |
download | ydb-863a59a65247c24db7cb06789bc5cf79d04da32f.tar.gz |
Restoring authorship annotation for Alexander Fokin <apfokin@gmail.com>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/logger')
-rw-r--r-- | library/cpp/logger/file.cpp | 2 | ||||
-rw-r--r-- | library/cpp/logger/thread.cpp | 6 | ||||
-rw-r--r-- | library/cpp/logger/thread.h | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/logger/file.cpp b/library/cpp/logger/file.cpp index 15a4946eda..3cf9146df8 100644 --- a/library/cpp/logger/file.cpp +++ b/library/cpp/logger/file.cpp @@ -8,7 +8,7 @@ /* * file log */ -class TFileLogBackend::TImpl { +class TFileLogBackend::TImpl { public: inline TImpl(const TString& path) : File_(OpenFile(path)) diff --git a/library/cpp/logger/thread.cpp b/library/cpp/logger/thread.cpp index 0ccf9e374b..edb6f187aa 100644 --- a/library/cpp/logger/thread.cpp +++ b/library/cpp/logger/thread.cpp @@ -150,13 +150,13 @@ size_t TThreadedLogBackend::QueueSize() const { } TOwningThreadedLogBackend::TOwningThreadedLogBackend(TLogBackend* slave) - : THolder<TLogBackend>(slave) - , TThreadedLogBackend(Get()) + : THolder<TLogBackend>(slave) + , TThreadedLogBackend(Get()) { } TOwningThreadedLogBackend::TOwningThreadedLogBackend(TLogBackend* slave, size_t queuelen, std::function<void()> queueOverflowCallback) - : THolder<TLogBackend>(slave) + : THolder<TLogBackend>(slave) , TThreadedLogBackend(Get(), queuelen, std::move(queueOverflowCallback)) { } diff --git a/library/cpp/logger/thread.h b/library/cpp/logger/thread.h index 65f7a88e87..5f10640069 100644 --- a/library/cpp/logger/thread.h +++ b/library/cpp/logger/thread.h @@ -26,7 +26,7 @@ private: THolder<TImpl> Impl_; }; -class TOwningThreadedLogBackend: private THolder<TLogBackend>, public TThreadedLogBackend { +class TOwningThreadedLogBackend: private THolder<TLogBackend>, public TThreadedLogBackend { public: TOwningThreadedLogBackend(TLogBackend* slave); TOwningThreadedLogBackend(TLogBackend* slave, size_t queuelen, std::function<void()> queueOverflowCallback = {}); |