Monitoring  3.3.4
O2 Monitoring library
o2::monitoring::MonLogger Class Reference

Simple Monitoring logging class. More...

#include <MonLogger.h>

Collaboration diagram for o2::monitoring::MonLogger:

Public Member Functions

template<typename T >
MonLoggeroperator<< (const T &log)
 

Static Public Member Functions

static MonLoggerGet (Severity severity=Severity::Info)
 
static auto End () -> decltype("\033[0m\n")
 

Detailed Description

Simple Monitoring logging class.

Member Function Documentation

static auto o2::monitoring::MonLogger::End ( ) -> decltype("\033[0m\n")
inlinestatic

Terminates log line return - string with color termination and new line

static MonLogger& o2::monitoring::MonLogger::Get ( Severity  severity = Severity::Info)
inlinestatic

Singleton Returns Logger instance with current date and given severity

Parameters
severity- severity level
Returns
- logger instance
template<typename T >
MonLogger& o2::monitoring::MonLogger::operator<< ( const T &  log)
inline

Appends value/message to the log

Parameters
log- message
Returns
- this to allow chaining

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