diff options
author | varvar4ik <varvar4ik@yandex-team.ru> | 2022-02-10 16:50:13 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:13 +0300 |
commit | c1fc12057772730209766bc9bd09ed842310b1c8 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/logger/thread.cpp | |
parent | f5256e2807bd0fc8626a4ce002a83b9b13860269 (diff) | |
download | ydb-c1fc12057772730209766bc9bd09ed842310b1c8.tar.gz |
Restoring authorship annotation for <varvar4ik@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/logger/thread.cpp')
-rw-r--r-- | library/cpp/logger/thread.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/library/cpp/logger/thread.cpp b/library/cpp/logger/thread.cpp index c581b8910ad..0ccf9e374be 100644 --- a/library/cpp/logger/thread.cpp +++ b/library/cpp/logger/thread.cpp @@ -102,10 +102,10 @@ public: reopener->Wait(); } - inline void ReopenLogNoFlush() { - Slave_->ReopenLogNoFlush(); - } - + inline void ReopenLogNoFlush() { + Slave_->ReopenLogNoFlush(); + } + inline size_t QueueSize() const { return Queue_.Size(); } @@ -137,10 +137,10 @@ void TThreadedLogBackend::ReopenLog() { Impl_->ReopenLog(); } -void TThreadedLogBackend::ReopenLogNoFlush() { - Impl_->ReopenLogNoFlush(); -} - +void TThreadedLogBackend::ReopenLogNoFlush() { + Impl_->ReopenLogNoFlush(); +} + void TThreadedLogBackend::WriteEmergencyData(const TLogRecord& rec) { Impl_->WriteEmergencyData(rec); } |