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 | bf9e69a933f89af083d895185f01ed65e4d90766 (patch) | |
tree | b2cc84ee7850122e7ccf51d0ea21e4fa7e7a5685 /library/cpp/logger | |
parent | 863a59a65247c24db7cb06789bc5cf79d04da32f (diff) | |
download | ydb-bf9e69a933f89af083d895185f01ed65e4d90766.tar.gz |
Restoring authorship annotation for Alexander Fokin <apfokin@gmail.com>. Commit 2 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 3cf9146df8..15a4946eda 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 edb6f187aa..0ccf9e374b 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 5f10640069..65f7a88e87 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 = {}); |