22 WvLog a(
"logA", WvLog::Debug), b(
"logB", WvLog::Debug2);
23 WvLog c(
"logC", WvLog::Debug3), c2 = c.
split(WvLog::Debug4);
27 c(
"c message with extra newline\n\n");
31 a(WvLog::Info,
"a info message\n");
32 a(
"a normal message with \a\b control chars\r\n");
39 b(WvLog::Info,
"and other stuff.\n");
43 c2(WvLog::Debug3,
"message.");
WvLog split(LogLevel _loglevel) const
split off a new WvLog object with the requested loglevel.
A WvLog stream accepts log messages from applications and forwards them to all registered WvLogRcv's...