WvStreams
include
wvlogstream.h
1
#ifndef __WVLOGSTREAM_H
2
#define __WVLOGSTREAM_H
3
4
#include "wvlogrcv.h"
5
12
class
WvLogStream
:
public
WvLogRcv
13
{
14
public
:
15
WvLogStream
(
IWvStream
*s,
16
WvLog::LogLevel _max_level = WvLog::NUM_LOGLEVELS);
17
virtual
~
WvLogStream
();
18
19
protected
:
20
IWvStream
*cloned;
21
22
virtual
void
_mid_line
(
const
char
*str,
size_t
len);
23
};
24
25
#endif // __WVLOGSTREAM_H
WvLogStream::_mid_line
virtual void _mid_line(const char *str, size_t len)
add text to the current log line.
Definition:
wvlogstream.cc:17
IWvStream
Definition:
iwvstream.h:24
WvLogRcv
WvLogRcv adds some intelligence to WvLogRcvBase, to keep track of line-prefix-printing and other form...
Definition:
wvlogrcv.h:28
WvLogStream
A WvLogRcv that sends its log messages to any supplied WvStream.
Definition:
wvlogstream.h:12
Generated by
1.8.17