Logging

Detailed Description

The logging framework offers an efficient, extensible system to log messages from programs with multiple threads to a number of channels. Logging can be completely disabled at compile time, when the logging macros are used. At runtime, log messages are filtered by a level of severity. Filtering is very efficient, because log messages are not even built if their log level is too low. Currently three types of output channels exist, logging to files with file rolling, to the console and to the serial port. The logging framework can be extended by new channels.

Classes

class  LogChannel
 Logging channel. More...
 
class  Logger
 Writes log records to a target. More...
 
class  LogMessage
 Logs records with a logger. More...
 
class  LogRecord
 Log records can be added to a log. More...
 
class  LogTarget
 Target of log-messages. More...
 

Enumerations

enum  LogLevel { ,
  Fatal = 100,
  Error = 200,
  Warn = 300,
  Info = 400,
  Debug = 500,
  Trace = 600
}
 Severity of the log-message. More...
 

Enumeration Type Documentation

enum LogLevel
Enumerator
Fatal 

Only fatal messages.

Error 

Errors and more severe messages.

Warn 

Warnings and more severe messagess.

Info 

Infos and more severe messages.

Debug 

Debug logs and more severe messagess.

Trace 

Traces and more severe messages.