From f2f03a1ea0c5413acb624a532384109a1517130d Mon Sep 17 00:00:00 2001 From: bixind <bixind@yandex-team.ru> Date: Thu, 10 Feb 2022 16:50:12 +0300 Subject: Restoring authorship annotation for <bixind@yandex-team.ru>. Commit 1 of 2. --- library/cpp/logger/rotating_file.h | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'library/cpp/logger/rotating_file.h') diff --git a/library/cpp/logger/rotating_file.h b/library/cpp/logger/rotating_file.h index cb047f25fb..dd585c4361 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_; +}; -- cgit v1.2.3