20 WvLog::LogLevel _max_level = WvLog::NUM_LOGLEVELS);
28 virtual void _mid_line(
const char *str,
size_t len);
41 WvLog::LogLevel _max_level = WvLog::NUM_LOGLEVELS,
42 int _keep_for = 7,
bool _force_new_line =
false,
43 bool _allow_append =
true);
48 virtual void _make_prefix(time_t now_sec);
49 int keep_for, last_day;
54 const char *wstype()
const {
return "WvLogFileBase"; }
57 #endif // __WVLOGFILE_H
WvFile implements a stream connected to a file or Unix device.
WvString is an implementation of a simple and efficient printable-string class.
A more advanced WvLogFileBase.
virtual void _make_prefix(time_t now_sec)
Set the Prefix and Prefix Length (size_t prelen)
Basic WvLogRcv that logs to a file.
WvLogRcv adds some intelligence to WvLogRcvBase, to keep track of line-prefix-printing and other form...
virtual void _mid_line(const char *str, size_t len)
add text to the current log line.
virtual void _end_line()
End this (Guaranteed NonEmpty) log line.