The SWORD Project
1.9.0.svnversion
|
#include <swlog.h>
Public Member Functions | |
char | getLogLevel () const |
void | logDebug (const char *fmt,...) const |
void | logError (const char *fmt,...) const |
void | logInformation (const char *fmt,...) const |
virtual void | logMessage (const char *message, int level) const |
virtual void | logTimedInformation (const char *fmt,...) const |
void | logWarning (const char *fmt,...) const |
void | setLogLevel (char level) |
SWLog () | |
virtual | ~SWLog () |
Static Public Member Functions | |
static SWLog * | getSystemLog () |
static void | setSystemLog (SWLog *newLogger) |
Static Public Attributes | |
static const char | LOG_DEBUG = 5 |
static const char | LOG_ERROR = 1 |
static const char | LOG_INFO = 3 |
static const char | LOG_TIMEDINFO = 4 |
static const char | LOG_WARN = 2 |
Protected Attributes | |
char | logLevel |
Static Protected Attributes | |
static SWLog * | systemLog = 0 |
|
static |
Definition at line 53 of file swlog.cpp.
void SWLog::logDebug | ( | const char * | fmt, |
... | |||
) | const |
Definition at line 132 of file swlog.cpp.
void SWLog::logError | ( | const char * | fmt, |
... | |||
) | const |
Definition at line 87 of file swlog.cpp.
void SWLog::logInformation | ( | const char * | fmt, |
... | |||
) | const |
Definition at line 100 of file swlog.cpp.
|
virtual |
|
virtual |
Definition at line 113 of file swlog.cpp.
void SWLog::logWarning | ( | const char * | fmt, |
... | |||
) | const |
Definition at line 74 of file swlog.cpp.
|
staticprotected |