diff options
author | trofimenkov <trofimenkov@yandex-team.ru> | 2022-02-10 16:49:31 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:31 +0300 |
commit | 7c6139b61ced2798d1134b68b8facf6925a36b8e (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/logger/element.cpp | |
parent | 30cebc2cfa79af3b577760a113e203a79450e6b6 (diff) | |
download | ydb-7c6139b61ced2798d1134b68b8facf6925a36b8e.tar.gz |
Restoring authorship annotation for <trofimenkov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/logger/element.cpp')
-rw-r--r-- | library/cpp/logger/element.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/logger/element.cpp b/library/cpp/logger/element.cpp index e39b4607bf..b510fe16e1 100644 --- a/library/cpp/logger/element.cpp +++ b/library/cpp/logger/element.cpp @@ -2,7 +2,7 @@ #include "element.h" #include <utility> - + TLogElement::TLogElement(const TLog* parent) : Parent_(parent) , Priority_(Parent_->DefaultPriority()) @@ -25,10 +25,10 @@ TLogElement::~TLogElement() { } void TLogElement::DoFlush() { - if (IsNull()) { - return; - } - + if (IsNull()) { + return; + } + const size_t filled = Filled(); if (filled) { |