diff options
author | dima-zakharov <dima-zakharov@yandex-team.ru> | 2022-02-10 16:46:02 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:02 +0300 |
commit | 41e8c41790ddd8d92722a09f7d4e1934aefff0c5 (patch) | |
tree | 2f175d77fb38a4093ccc33353129ccff1e7db7ce /library/cpp/logger/thread.h | |
parent | ed935c8a4c7e6ca561c19047402b0f7442175b51 (diff) | |
download | ydb-41e8c41790ddd8d92722a09f7d4e1934aefff0c5.tar.gz |
Restoring authorship annotation for <dima-zakharov@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/logger/thread.h')
-rw-r--r-- | library/cpp/logger/thread.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/logger/thread.h b/library/cpp/logger/thread.h index 65f7a88e87..ebb31e6218 100644 --- a/library/cpp/logger/thread.h +++ b/library/cpp/logger/thread.h @@ -4,12 +4,12 @@ #include <util/generic/ptr.h> -#include <functional> - +#include <functional> + class TThreadedLogBackend: public TLogBackend { public: TThreadedLogBackend(TLogBackend* slave); - TThreadedLogBackend(TLogBackend* slave, size_t queuelen, std::function<void()> queueOverflowCallback = {}); + TThreadedLogBackend(TLogBackend* slave, size_t queuelen, std::function<void()> queueOverflowCallback = {}); ~TThreadedLogBackend() override; void WriteData(const TLogRecord& rec) override; @@ -29,6 +29,6 @@ private: class TOwningThreadedLogBackend: private THolder<TLogBackend>, public TThreadedLogBackend { public: TOwningThreadedLogBackend(TLogBackend* slave); - TOwningThreadedLogBackend(TLogBackend* slave, size_t queuelen, std::function<void()> queueOverflowCallback = {}); + TOwningThreadedLogBackend(TLogBackend* slave, size_t queuelen, std::function<void()> queueOverflowCallback = {}); ~TOwningThreadedLogBackend() override; }; |