7 #include "wvcrashlog.h" 10 WvCrashLog::WvCrashLog(WvLog::LogLevel _max_level) :
18 wvcrash_ring_buffer_put(str, len);
24 prefix =
WvString(
"%s<%s>: ", last_source, loglevels[last_level]);
25 prelen = prefix.len();
WvLogRcv adds some intelligence to WvLogRcvBase, to keep track of line-prefix-printing and other form...
virtual void _make_prefix(time_t now_sec)
Set the Prefix and Prefix Length (size_t prelen)
virtual void _mid_line(const char *str, size_t len)
add text to the current log line.
WvString is an implementation of a simple and efficient printable-string class.