#include <wvlogrcv.h>
Inheritance diagram for WvLogRcv:
Public Methods | |
WvLogRcv (WvLog::LogLevel _max_level=WvLog::NUM_LOGLEVELS) | |
virtual | ~WvLogRcv () |
void | end_line () |
WvLog::LogLevel | level () const |
void | level (WvLog::LogLevel lvl) |
WvLogRcv (WvLog::LogLevel _max_level=WvLog::NUM_LOGLEVELS) | |
virtual | ~WvLogRcv () |
void | end_line () |
WvLog::LogLevel | level () const |
void | level (WvLog::LogLevel lvl) |
Static Public Attributes | |
char * | loglevels [WvLog::NUM_LOGLEVELS] |
char * | loglevels [WvLog::NUM_LOGLEVELS] |
Protected Methods | |
virtual void | log (const WvLog *source, int loglevel, const char *_buf, size_t len) |
virtual void | _make_prefix () |
virtual void | _begin_line () |
virtual void | _end_line () |
virtual void | _mid_line (const char *str, size_t len)=0 |
virtual void | log (const WvLog *source, int loglevel, const char *_buf, size_t len) |
virtual void | _make_prefix () |
virtual void | _begin_line () |
virtual void | _end_line () |
virtual void | _mid_line (const char *str, size_t len)=0 |
Protected Attributes | |
const WvLog * | last_source |
WvLog::LogLevel | max_level |
WvLog::LogLevel | last_level |
bool | at_newline |
WvString | prefix |
size_t | prelen |
const WvLog * | last_source |
Private Methods | |
void | begin_line () |
void | mid_line (const char *str, size_t len) |
void | begin_line () |
void | mid_line (const char *str, size_t len) |
Definition at line 26 of file include/wvlogrcv.h.
|
Definition at line 135 of file wvlog.cc. References at_newline, last_level, last_source, WvLog::LogLevel, max_level, and WvLog::NUM_LOGLEVELS. |
|
|
|
|
|
|
|
Start a new log line (print prefix) Reimplemented in WvLogBuffer. |
|
Start a new log line (print prefix) Reimplemented in WvLogBuffer. Definition at line 157 of file wvlog.cc. References mid_line, prefix, and prelen. Referenced by begin_line. |
|
End this (Guaranteed NonEmpty) log line Reimplemented in WvLogBuffer. |
|
End this (Guaranteed NonEmpty) log line Reimplemented in WvLogBuffer. Definition at line 163 of file wvlog.cc. Referenced by end_line. |
|
Set the Prefix and Prefix Length (size_t prelen) |
|
Set the Prefix and Prefix Length (size_t prelen) Definition at line 149 of file wvlog.cc. References WvLogRcvBase::appname, last_level, last_source, loglevels, prefix, and prelen. Referenced by log. |
|
add text to the current log line. 'str' may contain only one ' Implemented in WvLogBuffer. |
|
add text to the current log line. 'str' may contain only one ' Implemented in WvLogBuffer. |
|
Definition at line 61 of file streams/wvlogrcv.h. References _begin_line, and at_newline. |
|
Definition at line 61 of file include/wvlogrcv.h. References _begin_line, and at_newline. Referenced by log. |
|
Definition at line 73 of file streams/wvlogrcv.h. References _end_line, _mid_line, and at_newline. |
|
Definition at line 73 of file include/wvlogrcv.h. References _end_line, _mid_line, and at_newline. Referenced by log, WvLogBuffer::messages, WvLogBuffer::~WvLogBuffer, WvLogConsole::~WvLogConsole, and WvSyslog::~WvSyslog. |
|
Definition at line 79 of file streams/wvlogrcv.h. References WvLog::LogLevel, and max_level. |
|
Definition at line 77 of file streams/wvlogrcv.h. References WvLog::LogLevel, and max_level. |
|
Definition at line 79 of file include/wvlogrcv.h. References WvLog::LogLevel, and max_level. |
|
Definition at line 77 of file include/wvlogrcv.h. References WvLog::LogLevel, and max_level. |
|
Implements WvLogRcvBase. |
|
Implements WvLogRcvBase. Definition at line 169 of file wvlog.cc. References _make_prefix, begin_line, end_line, last_level, last_source, WvLog::LogLevel, max_level, and mid_line. |
|
Definition at line 63 of file streams/wvlogrcv.h. References _mid_line, and at_newline. |
|
Definition at line 63 of file include/wvlogrcv.h. References _mid_line, and at_newline. Referenced by _begin_line, and log. |
|
Definition at line 31 of file streams/wvlogrcv.h. Referenced by begin_line, end_line, mid_line, and WvLogRcv. |
|
Definition at line 30 of file streams/wvlogrcv.h. Referenced by WvLogBuffer::_begin_line, WvSyslog::_end_line, _make_prefix, log, and WvLogRcv. |
|
Definition at line 29 of file streams/wvlogrcv.h. |
|
Definition at line 29 of file include/wvlogrcv.h. Referenced by WvLogBuffer::_begin_line, _make_prefix, log, and WvLogRcv. |
|
Definition at line 68 of file streams/wvlogrcv.h. |
|
Initial value: { "Crit", "Err", "Warn", "Notice", "Info", "*1", "*2", "*3", "*4", "*5", } Definition at line 16 of file wvlog.cc. Referenced by _make_prefix, and WvLogBuffer::dump. |
|
Definition at line 30 of file streams/wvlogrcv.h. |
|
Definition at line 32 of file streams/wvlogrcv.h. Referenced by WvSyslog::_begin_line, _begin_line, and _make_prefix. |
|
Definition at line 33 of file streams/wvlogrcv.h. Referenced by WvSyslog::_begin_line, _begin_line, and _make_prefix. |