Wolframe, 0.0.3

_Wolframe::log Namespace Reference

Logger structures (implemented in the core library libwfsingleton) More...

Classes

class  LogBackend
 Logger backend implementing the logger sink. More...
 
class  LogError
 Logger error. More...
 
class  Logger
 Logger abstraction configurable to print to multiple backends. More...
 
struct  LoggerConfiguration
 logger configuration More...
 
class  LogLevel
 Logger levels describing the severity of the logged message. More...
 
class  SyslogFacility
 Facility (sink) for syslog. More...
 

Functions

template<typename CharT , typename TraitsT >
std::basic_ostream< CharT,
TraitsT > & 
operator<< (std::basic_ostream< CharT, TraitsT > &s, LogLevel::Level l)
 Output loglevel to an output stream. More...
 
template<typename CharT , typename TraitsT >
std::basic_ostream< CharT,
TraitsT > & 
operator<< (std::basic_ostream< CharT, TraitsT > &s, SyslogFacility::Facility f)
 map enum values to strings More...
 
template<typename T >
Loggeroperator<< (Logger &logger, T t)
 template functions for logging, default is we search for the << operator and log with this one.. More...
 

Detailed Description

Logger structures (implemented in the core library libwfsingleton)

Function Documentation

template<typename CharT , typename TraitsT >
std::basic_ostream< CharT, TraitsT >& _Wolframe::log::operator<< ( std::basic_ostream< CharT, TraitsT > &  s,
SyslogFacility::Facility  f 
)
inline

map enum values to strings

template<typename CharT , typename TraitsT >
std::basic_ostream< CharT, TraitsT >& _Wolframe::log::operator<< ( std::basic_ostream< CharT, TraitsT > &  s,
LogLevel::Level  l 
)
inline

Output loglevel to an output stream.

template<typename T >
Logger& _Wolframe::log::operator<< ( Logger &  logger,
t 
)

template functions for logging, default is we search for the << operator and log with this one..