diff options
author | varvar4ik <varvar4ik@yandex-team.ru> | 2022-02-10 16:50:12 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:12 +0300 |
commit | f5256e2807bd0fc8626a4ce002a83b9b13860269 (patch) | |
tree | aabfc2cd4e19e47ba787880ae1834c7ccbc09916 /library/cpp/logger/log.cpp | |
parent | bd077d09a08e659195376ee97dc24728bb554246 (diff) | |
download | ydb-f5256e2807bd0fc8626a4ce002a83b9b13860269.tar.gz |
Restoring authorship annotation for <varvar4ik@yandex-team.ru>. Commit 1 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 e1d70cc3d28..23493158c89 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(); } |