#pragma once #include "backend.h" #include #include class TSyncPageCacheFileLogBackend final: public TLogBackend { public: TSyncPageCacheFileLogBackend(const TString& path, size_t maxBufferSize, size_t maxPendingCacheSize); ~TSyncPageCacheFileLogBackend(); void WriteData(const TLogRecord& rec) override; void ReopenLog() override; private: class TImpl; THolder Impl_; };