blob: 69a7d3dd1282f25feaf5b22f71d08aafd349bd11 (
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_;
};
|