blob: bb890119196c5df546d4512931000ec7ac1c0d64 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#pragma once
#include "backend.h"
class IOutputStream;
class TStreamLogBackend: public TLogBackend {
public:
TStreamLogBackend(IOutputStream* slave);
~TStreamLogBackend() override;
void WriteData(const TLogRecord& rec) override;
void ReopenLog() override;
private:
IOutputStream* Slave_;
};
|