hadean::log Namespace Reference

Classes

struct  default_logger
 
class  global_logger_type
 
struct  logger
 
struct  logger_factory
 

Enumerations

enum  level {
  level::TRACE, level::DEBUG, level::INFO, level::WARN,
  level::ERROR, level::FATAL
}
 

Functions

template<typename Arg0 >
void to_stream (std::stringstream &ss, Arg0 &&a)
 
template<typename Arg0 , typename... Args>
void to_stream (std::stringstream &ss, Arg0 &&a, Args...args)
 
logging::level from_level (level l)
 
void set_level (level l)
 
void init (const std::string &name, uint64_t pid)
 
void init (const std::string &name, uint64_t pid, std::istream &config)
 
static global_logger_typeget_global_logger ()
 

Enumeration Type Documentation

enum hadean::log::level
strong
Enumerator
TRACE 
DEBUG 
INFO 
WARN 
ERROR 
FATAL 

Function Documentation

logging::level hadean::log::from_level ( level  l)
static global_logger_type& hadean::log::get_global_logger ( )
static
void hadean::log::init ( const std::string &  name,
uint64_t  pid 
)
void hadean::log::init ( const std::string &  name,
uint64_t  pid,
std::istream &  config 
)
void hadean::log::set_level ( level  l)
template<typename Arg0 >
void hadean::log::to_stream ( std::stringstream &  ss,
Arg0 &&  a 
)
template<typename Arg0 , typename... Args>
void hadean::log::to_stream ( std::stringstream &  ss,
Arg0 &&  a,
Args...  args 
)