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