BambooIsland: Logger Class Reference

BambooIsland Abgabe 2

- Main Page
- Related Pages
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Types | Public Member Functions | Static Public Member Functions

# Logger Class Reference

List of all members.

## Public Types

enum | LogLevel { TRACE = 0, DEBUG, WARN, ERROR, FATAL, NOTHING }

## Public Member Functions

void | setLogLevelForFile (LogLevel loglevel)
| function to set log level for file (messages with a lower level are ignored)
void | setLogLevelForConsole (LogLevel loglevel)
| function to set log level for console (messages with a lower level are ignored)
void | log (LogLevel level, const std::string message)
| function to write log messages
void | log (LogLevel level, const char *message)
| function to write log messages

## Static Public Member Functions

static Logger * | instance ()
| returns instance of logger class (-> logger is designed as a singelton)

## Detailed Description

Definition at line 45 of file Logger.h.

## Member Enumeration Documentation

enum Logger::LogLevel

Enumerator:

  NOTHING | if no output is wanted, set the loglevel to NOTHING

Definition at line 48 of file Logger.h.

The documentation for this class was generated from the following files:

- C:/Users/easterbunny/Desktop/Echtzeitgraphik-LU/trunk/src/Logger.h
- C:/Users/easterbunny/Desktop/Echtzeitgraphik-LU/trunk/src/Logger.cpp

All Classes Functions Variables Enumerations Enumerator