|
|
virtual void | LogInfo (const char *source, const char *message) |
| Log information message. More...
|
|
virtual void | LogInfoFormat (const char *source, const char *message,...) |
| Log formatted information message. More...
|
|
virtual void | LogInfoFormatUsing (const char *source, const char *message, va_list args) |
| Log formatted information message. More...
|
|
virtual void | LogWarn (const char *source, const char *message) |
| Log warning message. More...
|
|
virtual void | LogWarnFormat (const char *source, const char *message,...) |
| Log formated warning message. More...
|
|
virtual void | LogWarnFormatUsing (const char *source, const char *message, va_list args) |
| Log formated warning message. More...
|
|
virtual void | LogError (const char *source, const char *message) |
| Log error message. More...
|
|
virtual void | LogErrorFormat (const char *source, const char *message,...) |
| Log formated error message. More...
|
|
virtual void | LogErrorFormatUsing (const char *source, const char *message, va_list args) |
| Log formated error message. More...
|
|
virtual void | LogException (const char *source, const deException &exception) |
| Log exception error message. More...
|
|
int | GetRefCount () const |
| Reference count. More...
|
|
void | AddReference () |
| Add reference increasing reference count by 1. More...
|
|
void | FreeReference () |
| Decrease reference count by one and delete object if count reaches 0. More...
|
|
| deObject () |
| Create object with reference count of 1. More...
|
|
Base logger class for all loggers.
To help sub-classes the formatted version provide a default implementation. forwarding a formatted text to the basic logger functions. In general this is the best solution. Sub classes can though overwrite these functions if they want to handle the formatting themselves.
- Note
- Loggers are thread safe. See subclass for potential restrictions.