/usr/include/wvstreams/wvlogstream.h is in libwvstreams-dev 4.6.1-11.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | #ifndef __WVLOGSTREAM_H
#define __WVLOGSTREAM_H
#include "wvlogrcv.h"
/**
* A WvLogRcv that sends its log messages to any supplied WvStream.
*
* Takes ownership of the given stream, so it will be release()d when
* this object goes away.
*/
class WvLogStream: public WvLogRcv
{
public:
WvLogStream(IWvStream *s,
WvLog::LogLevel _max_level = WvLog::NUM_LOGLEVELS);
virtual ~WvLogStream();
protected:
IWvStream *cloned;
virtual void _mid_line(const char *str, size_t len);
};
#endif // __WVLOGSTREAM_H
|