12345678910111213141516171819 |
- #pragma once
- #include "backend.h"
- #include <util/generic/fwd.h>
- #include <util/generic/ptr.h>
- class TFileLogBackend: public TLogBackend {
- public:
- TFileLogBackend(const TString& path);
- ~TFileLogBackend() override;
- void WriteData(const TLogRecord& rec) override;
- void ReopenLog() override;
- private:
- class TImpl;
- TAtomicSharedPtr<TImpl> Impl_;
- };
|