Logger Class Reference

#include <logger.h>

Inherits Singleton< Logger >.

Inheritance diagram for Logger:

Inheritance graph
[legend]
Collaboration diagram for Logger:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Logger ()
 ~Logger ()
void error (string message, bool fatal=false)
void warning (string message)
void debug (string message)

Detailed Description

Basic logger which distinguishes error, warning and debug logging.

Definition at line 21 of file logger.h.


Constructor & Destructor Documentation

Logger::Logger (  ) 

Definition at line 11 of file logger.cpp.

Logger::~Logger (  ) 

Definition at line 15 of file logger.cpp.


Member Function Documentation

void Logger::error ( string  message,
bool  fatal = false 
)

If fatal true then exit(1) occurs

Definition at line 19 of file logger.cpp.

References Util::timestamp().

Referenced by Theme::allocateColor(), and XCore::handleErrors().

Here is the call graph for this function:

void Logger::warning ( string  message  ) 

Definition at line 28 of file logger.cpp.

References Util::timestamp().

Referenced by Launcher::execSeq(), and XCore::handleErrors().

Here is the call graph for this function:

void Logger::debug ( string  message  ) 

Definition at line 32 of file logger.cpp.

References Util::timestamp().

Here is the call graph for this function:


The documentation for this class was generated from the following files:
Generated on Thu May 24 15:20:18 2007 for ncwm by  doxygen 1.5.1