WvWinDebugLog Class Reference

Inheritance diagram for WvWinDebugLog:
[legend]
List of all members.

Detailed Description

Definition at line 4 of file wvwindebuglog.h.

Public Member Functions

void end_line ()
WvLog::LogLevel level () const
void level (WvLog::LogLevel lvl)
bool set_custom_levels (WvString descr)

Public Attributes

bool force_new_line

Static Public Attributes

static char * loglevels [WvLog::NUM_LOGLEVELS]

Protected Member Functions

 DeclareWvScatterDict (Src_Lvl, WvString, src)
virtual void log (WvStringParm source, int loglevel, const char *_buf, size_t len)
virtual void _make_prefix ()
 Set the Prefix and Prefix Length (size_t prelen).
virtual void _begin_line ()
 Start a new log line (print prefix).
virtual void _end_line ()
 End this (Guaranteed NonEmpty) log line.
const char * appname (WvStringParm log) const

Protected Attributes

WvString last_source
WvLog::LogLevel max_level
WvLog::LogLevel last_level
bool at_newline
WvString prefix
size_t prelen
Src_LvlDict custom_levels


Member Data Documentation

char * WvLogRcv::loglevels [static, inherited]

Initial value:

 {
    "Crit",
    "Err",
    "Warn",
    "Notice",
    "Info",
    "*1",
    "*2",
    "*3",
    "*4",
    "*5",
}

Definition at line 77 of file wvlogrcv.h.

Referenced by WvLogFileBase::_make_prefix(), WvLogRcv::_make_prefix(), and WvLogBuffer::dump().


The documentation for this class was generated from the following files:
Generated on Wed Jul 12 17:53:39 2006 for WvStreams by  doxygen 1.4.7