Luiza  v03-01
Classes | Variables
streamlog Namespace Reference

Namespace of method for logging messages based on streamlog. More...

Classes

class  logbuffer
 
class  logscope
 
class  logstream
 
class  prefix
 
class  prefix_base
 

Variables

logstream out
 

Detailed Description

Namespace of method for logging messages based on streamlog.

loglevels.h: defines default log levels for streamlog

Default log levels for streamlog::logstream:

By default all groups are active, except DEBUG when compiled with -DNDEBUG, i.e. in release mode. Through -DSTREAMLOG_LEVEL=N, where N=0,1,2,3,4 this behaviour can be changed, e.g. if -DSTREAMLOG_LEVEL=2 is specified all compile time all messages of the groups DEBUG and MESSAGE are suppressed (no overhead in space or time) and only WARNING and ERROR messages will be visible if the current log level is reached.

Users can define their own log levels or additional loglevels with the macro:

  DEFINE_STREAMLOG_LEVEL( classname,  "LogString",  loglevel , active_flag )  

if active flag is false corresponding code will have no effect.

Author
F. Gaede, DESY
Version
Id
loglevels.h,v 1.3 2007-08-08 13:58:33 gaede Exp

Variable Documentation

logstream streamlog::out