GNUMessenger::LogManager Class Reference

The log manager is static and persistant--defaults to StdLog. More...

#include <log.h>

Collaboration diagram for GNUMessenger::LogManager:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LogManager ()
 Starts the StdLog logger.
 ~LogManager ()
 Deletes the active logger.
void SetLog (LogBase *logger)
 Cannot set null log--use LogNull instead.
LogBaseGetLog ()
 Get the pointer to the active logger.
LogBaseoperator<< (const char *str)
 Write to the default log stream.
LogBaseoperator<< (const wchar_t *wstr)
 Write wide characters to the default log stream.
LogBaseDebug ()
 Access the log stream in debug mode.
LogBaseError ()
 Access the log stream in error mode.
LogBaseNormal ()
 Access the log stream in normal mode.

Detailed Description

The log manager is static and persistant--defaults to StdLog.

Definition at line 104 of file log.h.


Member Function Documentation

void GNUMessenger::LogManager::SetLog LogBase logger  ) 
 

Cannot set null log--use LogNull instead.

Note:
Cannot set null log--use LogNull instead
Definition at line 32 of file log.cpp.
00032 { 00033 if (logger == NULL) 00034 return; 00035 00036 delete m_logger; 00037 m_logger = logger; 00038 }


The documentation for this class was generated from the following files:
Generated on Tue Oct 5 14:41:54 2004 for GNU Messenger by doxygen 1.3.8