aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/logger/global/rty_formater.h
diff options
context:
space:
mode:
authorAlexey Salmin <alexey.salmin@gmail.com>2022-02-10 16:49:37 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:37 +0300
commit3c5b1607b38f637d2f3313791ed25c2e080d2647 (patch)
tree99be7b96e7c66612fbca94331100ef3b5fedcb88 /library/cpp/logger/global/rty_formater.h
parentde89752358147d7b25ef59a85b431bb564068a49 (diff)
downloadydb-3c5b1607b38f637d2f3313791ed25c2e080d2647.tar.gz
Restoring authorship annotation for Alexey Salmin <alexey.salmin@gmail.com>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/logger/global/rty_formater.h')
-rw-r--r--library/cpp/logger/global/rty_formater.h46
1 files changed, 23 insertions, 23 deletions
diff --git a/library/cpp/logger/global/rty_formater.h b/library/cpp/logger/global/rty_formater.h
index 6532e1d769..637e5ae1a1 100644
--- a/library/cpp/logger/global/rty_formater.h
+++ b/library/cpp/logger/global/rty_formater.h
@@ -16,30 +16,30 @@ public:
ILoggerFormatter* CreateRtyLoggerFormatter();
namespace NLoggingImpl {
- class TLocalTimeS {
- public:
- TLocalTimeS(TInstant instant = TInstant::Now())
- : Instant(instant)
- {
- }
-
- TInstant GetInstant() const {
- return Instant;
- }
-
- operator TString() const;
- TString operator+(TStringBuf right) const;
-
- private:
- TInstant Instant;
- };
-
+ class TLocalTimeS {
+ public:
+ TLocalTimeS(TInstant instant = TInstant::Now())
+ : Instant(instant)
+ {
+ }
+
+ TInstant GetInstant() const {
+ return Instant;
+ }
+
+ operator TString() const;
+ TString operator+(TStringBuf right) const;
+
+ private:
+ TInstant Instant;
+ };
+
IOutputStream& operator<<(IOutputStream& out, TLocalTimeS localTimeS);
-
- inline TLocalTimeS GetLocalTimeS() {
- return TLocalTimeS();
- }
-
+
+ inline TLocalTimeS GetLocalTimeS() {
+ return TLocalTimeS();
+ }
+
TString GetSystemResources();
TString PrintSystemResources(const NMemInfo::TMemInfo& info);