#include <log.h>
Inheritance diagram for GNUMessenger::LogBase:

Public Types | |
| enum | Mode { Debug, Error, Normal } |
| The different log "modes". | |
Public Member Functions | |
| LogBase () | |
| Constructor initializes default values. | |
| virtual LogBase & | operator<< (ostream &(*pf)(ostream &)) |
| An function to catch endl's and process them accordingly. | |
| virtual LogBase & | operator<< (const wchar_t *wstr) |
| Process wchar_t strings. | |
| virtual LogBase & | operator<< (const char *str) |
| Process char strings. | |
| template<typename T> LogBase & | operator<< (const T str) |
| Template function to get everything else. | |
| const char * | GetMode () |
| Returns the wide string description of the mode. | |
| virtual void | SetMode (const Mode mode) |
| Sets the mode. | |
Protected Member Functions | |
| virtual void | Break () |
| Called when there is a recursive << in the stream. | |
| virtual void | BreakW () |
| Called when there is a << in the stream. | |
| virtual ostream & | GetStream ()=0 |
| Returns the normal stream for writing. | |
| virtual wostream & | GetStreamW ()=0 |
| Returns the wide stream for writing. | |
Protected Attributes | |
| Mode | m_mode |
Definition at line 16 of file log.h.
1.3.8