#include <wvsyslog.h>
Inheritance diagram for WvSyslog:
Public Methods | |
WvSyslog (const WvString &_prefix, bool _include_appname, WvLog::LogLevel _first_debug=WvLog::Debug, WvLog::LogLevel _max_level=WvLog::NUM_LOGLEVELS) | |
virtual | ~WvSyslog () |
WvSyslog (const WvString &_prefix, bool _include_appname, WvLog::LogLevel _first_debug=WvLog::Debug, WvLog::LogLevel _max_level=WvLog::NUM_LOGLEVELS) | |
virtual | ~WvSyslog () |
Protected Methods | |
virtual void | _begin_line () |
virtual void | _mid_line (const char *str, size_t len) |
virtual void | _end_line () |
virtual void | _begin_line () |
virtual void | _mid_line (const char *str, size_t len) |
virtual void | _end_line () |
Protected Attributes | |
WvLog::LogLevel | first_debug |
WvBuffer | current |
WvString | syslog_prefix |
bool | include_appname |
Definition at line 14 of file include/wvsyslog.h.
|
Definition at line 13 of file wvsyslog.cc. References first_debug, include_appname, WvLog::LogLevel, and syslog_prefix. |
|
Definition at line 24 of file wvsyslog.cc. References WvLogRcv::end_line(). |
|
|
|
|
|
Start a new log line (print prefix) Reimplemented from WvLogRcv. |
|
Start a new log line (print prefix) Reimplemented from WvLogRcv. Definition at line 31 of file wvsyslog.cc. References current, WvLogRcv::prefix, WvLogRcv::prelen, and WvBuffer::put(). |
|
End this (Guaranteed NonEmpty) log line Reimplemented from WvLogRcv. |
|
End this (Guaranteed NonEmpty) log line Reimplemented from WvLogRcv. Definition at line 44 of file wvsyslog.cc. References WvLog::Critical, current, WvLog::Debug, WvLog::Debug2, WvLog::Error, first_debug, WvBuffer::get(), WvLog::Info, WvLogRcv::last_level, WvLog::Notice, WvBuffer::put(), WvBuffer::used(), WvLog::Warning, and WvBuffer::zap(). |
|
add text to the current log line. 'str' may contain only one ' Implements WvLogRcv. |
|
add text to the current log line. 'str' may contain only one ' Implements WvLogRcv. Definition at line 38 of file wvsyslog.cc. References current, and WvBuffer::put(). |
|
Definition at line 24 of file streams/wvsyslog.h. Referenced by _begin_line(), _end_line(), and _mid_line(). |
|
Definition at line 23 of file streams/wvsyslog.h. |
|
Definition at line 26 of file streams/wvsyslog.h. Referenced by WvSyslog(). |
|
Definition at line 25 of file streams/wvsyslog.h. Referenced by WvSyslog(). |