aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/logger/rotating_file.h
diff options
context:
space:
mode:
authorbixind <bixind@yandex-team.ru>2022-02-10 16:50:12 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:12 +0300
commitdf6eb5b163c763cd9633a4850cfae72f8d742996 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/logger/rotating_file.h
parentf2f03a1ea0c5413acb624a532384109a1517130d (diff)
downloadydb-df6eb5b163c763cd9633a4850cfae72f8d742996.tar.gz
Restoring authorship annotation for <bixind@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/logger/rotating_file.h')
-rw-r--r--library/cpp/logger/rotating_file.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/library/cpp/logger/rotating_file.h b/library/cpp/logger/rotating_file.h
index dd585c43610..cb047f25fbd 100644
--- a/library/cpp/logger/rotating_file.h
+++ b/library/cpp/logger/rotating_file.h
@@ -1,20 +1,20 @@
-#pragma once
-
-#include "backend.h"
-
+#pragma once
+
+#include "backend.h"
+
#include <util/generic/fwd.h>
-#include <util/generic/ptr.h>
-
-class TRotatingFileLogBackend: public TLogBackend {
-public:
- TRotatingFileLogBackend(const TString& preRotatePath, const TString& postRotatePath, const ui64 maxSizeBytes);
+#include <util/generic/ptr.h>
+
+class TRotatingFileLogBackend: public TLogBackend {
+public:
+ TRotatingFileLogBackend(const TString& preRotatePath, const TString& postRotatePath, const ui64 maxSizeBytes);
TRotatingFileLogBackend(const TString& path, const ui64 maxSizeBytes, const ui32 rotatedFilesCount);
- ~TRotatingFileLogBackend() override;
-
- void WriteData(const TLogRecord& rec) override;
- void ReopenLog() override;
-
-private:
- class TImpl;
- TAtomicSharedPtr<TImpl> Impl_;
-};
+ ~TRotatingFileLogBackend() override;
+
+ void WriteData(const TLogRecord& rec) override;
+ void ReopenLog() override;
+
+private:
+ class TImpl;
+ TAtomicSharedPtr<TImpl> Impl_;
+};