AARE
Data analysis library for PSI hybrid detectors
Loading...
Searching...
No Matches
Namespaces | Data Structures | Enumerations | Functions
aare::logger Namespace Reference

Namespaces

namespace  internal
 

Data Structures

class  Logger
 

Enumerations

enum  LOGGING_LEVEL { DEBUG = 0 , INFO = 1 , WARNING = 2 , ERROR = 3 }
 

Functions

template<LOGGING_LEVEL level, typename... Strings>
void log (const Strings... s)
 
template<typename... Strings>
void debug (const Strings... s)
 
template<typename... Strings>
void info (const Strings... s)
 
template<typename... Strings>
void warn (const Strings... s)
 
template<typename... Strings>
void error (const Strings... s)
 
void set_streams (std::streambuf *out, std::streambuf *err)
 
void set_streams (std::streambuf *out)
 
void set_verbosity (LOGGING_LEVEL level)
 
void set_output_file (std::string filename)
 
Loggerget_logger_instance ()
 

Enumeration Type Documentation

◆ LOGGING_LEVEL

Enumerator
DEBUG 
INFO 
WARNING 
ERROR 

Function Documentation

◆ debug()

template<typename... Strings>
void aare::logger::debug ( const Strings...  s)

◆ error()

template<typename... Strings>
void aare::logger::error ( const Strings...  s)

◆ get_logger_instance()

Logger & aare::logger::get_logger_instance ( )

◆ info()

template<typename... Strings>
void aare::logger::info ( const Strings...  s)

◆ log()

template<LOGGING_LEVEL level, typename... Strings>
void aare::logger::log ( const Strings...  s)

◆ set_output_file()

void aare::logger::set_output_file ( std::string  filename)

◆ set_streams() [1/2]

void aare::logger::set_streams ( std::streambuf *  out)

◆ set_streams() [2/2]

void aare::logger::set_streams ( std::streambuf *  out,
std::streambuf *  err 
)

◆ set_verbosity()

void aare::logger::set_verbosity ( LOGGING_LEVEL  level)

◆ warn()

template<typename... Strings>
void aare::logger::warn ( const Strings...  s)