Luiza
v03-01
|
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 |
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.
logstream streamlog::out |
global instance of logstream
Referenced by luiza::ProcessorMgr::concludeAnalysis(), luiza::ProcessorMgr::end(), luiza::ProcessorMgr::init(), luiza::Processor::message(), luiza::Processor::printParameters(), luiza::ProcessorMgr::processData(), and luiza::ProcessorMgr::startAnalysis().