blob: a4c7c2e5b5f68f368d5cf2054d0e6553e8210595 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#include "stream.h"
#include "record.h"
#include <util/stream/output.h>
TStreamLogBackend::TStreamLogBackend(IOutputStream* slave)
: Slave_(slave)
{
}
TStreamLogBackend::~TStreamLogBackend() {
}
void TStreamLogBackend::WriteData(const TLogRecord& rec) {
Slave_->Write(rec.Data, rec.Len);
}
void TStreamLogBackend::ReopenLog() {
}
|