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/log.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/log.cpp')
-rw-r--r-- | library/cpp/logger/log.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/library/cpp/logger/log.cpp b/library/cpp/logger/log.cpp index 23493158c89..e1d70cc3d28 100644 --- a/library/cpp/logger/log.cpp +++ b/library/cpp/logger/log.cpp @@ -58,14 +58,14 @@ public: Backend_->ReopenLog(); } - inline void ReopenLogNoFlush() { - if (!IsOpen()) { - return; - } - + inline void ReopenLogNoFlush() { + if (!IsOpen()) { + return; + } + Backend_->ReopenLogNoFlush(); - } - + } + inline void AddLog(ELogPriority priority, const char* format, va_list args) const { if (!IsOpen()) { return; @@ -182,12 +182,12 @@ void TLog::ReopenLog() { } } -void TLog::ReopenLogNoFlush() { +void TLog::ReopenLogNoFlush() { if (const auto copy = Impl_) { - copy->ReopenLogNoFlush(); - } -} - + copy->ReopenLogNoFlush(); + } +} + void TLog::CloseLog() { Impl_->CloseLog(); } |