aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/logger/thread.h
diff options
context:
space:
mode:
authormikari <mikari@yandex-team.ru>2022-02-10 16:48:47 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:47 +0300
commitf821ddfc9200113ec259d8d35b7cf3833372abc9 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/logger/thread.h
parent2e0ed5ad2d70bf924ccd3cbbfab508784ab36325 (diff)
downloadydb-f821ddfc9200113ec259d8d35b7cf3833372abc9.tar.gz
Restoring authorship annotation for <mikari@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/logger/thread.h')
-rw-r--r--library/cpp/logger/thread.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/logger/thread.h b/library/cpp/logger/thread.h
index ce4d334e7c..65f7a88e87 100644
--- a/library/cpp/logger/thread.h
+++ b/library/cpp/logger/thread.h
@@ -25,10 +25,10 @@ private:
class TImpl;
THolder<TImpl> Impl_;
};
-
+
class TOwningThreadedLogBackend: private THolder<TLogBackend>, public TThreadedLogBackend {
-public:
- TOwningThreadedLogBackend(TLogBackend* slave);
+public:
+ TOwningThreadedLogBackend(TLogBackend* slave);
TOwningThreadedLogBackend(TLogBackend* slave, size_t queuelen, std::function<void()> queueOverflowCallback = {});
- ~TOwningThreadedLogBackend() override;
-};
+ ~TOwningThreadedLogBackend() override;
+};