aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/logger/element.h
diff options
context:
space:
mode:
authorndnuriev <ndnuriev@yandex-team.ru>2022-02-10 16:49:45 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:45 +0300
commit28045de07753ee182fc8e5ca778469d7a7c5bb20 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/logger/element.h
parent3659e5861440ac98d0380de7698601ad14655a7a (diff)
downloadydb-28045de07753ee182fc8e5ca778469d7a7c5bb20.tar.gz
Restoring authorship annotation for <ndnuriev@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/logger/element.h')
-rw-r--r--library/cpp/logger/element.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/logger/element.h b/library/cpp/logger/element.h
index dad0886c2c9..fc9bff851ff 100644
--- a/library/cpp/logger/element.h
+++ b/library/cpp/logger/element.h
@@ -12,7 +12,7 @@ class TLog;
class TLogElement: public TTempBufOutput {
public:
TLogElement(const TLog* parent);
- TLogElement(const TLog* parent, ELogPriority priority);
+ TLogElement(const TLog* parent, ELogPriority priority);
TLogElement(TLogElement&&) noexcept = default;
TLogElement& operator=(TLogElement&&) noexcept = default;
@@ -29,13 +29,13 @@ public:
/*
* for pretty usage: logger << TLOG_ERROR << "Error description";
*/
- inline TLogElement& operator<<(ELogPriority priority) {
+ inline TLogElement& operator<<(ELogPriority priority) {
Flush();
Priority_ = priority;
return *this;
}
- ELogPriority Priority() const noexcept {
+ ELogPriority Priority() const noexcept {
return Priority_;
}
@@ -44,5 +44,5 @@ protected:
protected:
const TLog* Parent_;
- ELogPriority Priority_;
+ ELogPriority Priority_;
};