AnCH Framework  0.1
Another C++ Hack Framework
Namespaces | Classes | Enumerations | Variables
anch::logger Namespace Reference

Logger namespace. More...

Namespaces

 formatter
 Logger formatter internalnamespace.
 

Classes

class  Logger
 
class  LoggerConfiguration
 
class  LoggerFactory
 Logger factory. More...
 
class  LowPriorityWriter
 
class  ThreadSafeWriter
 
class  Writer
 

Enumerations

enum  Level {
  TRACE = 0, DEBUG = 10, INFO = 20, WARN = 30,
  ERROR = 40, FATAL = 50
}
 

Variables

const std::map< const Level, const std::string > LEVEL_LABEL
 
const std::map< const std::string, const LevelLABEL_LEVEL
 

Detailed Description

Logger namespace.

It contains ready (and easy) to use logger library.

Enumeration Type Documentation

Logging levels definitions

Author
Vincent Lachenal
Enumerator
TRACE 

Trace logging level

DEBUG 

Debug logging level

INFO 

Information logging level

WARN 

Warning logging level

ERROR 

Error logging level

FATAL 

Fatal logging level

Variable Documentation

const std::map<const std::string,const Level> anch::logger::LABEL_LEVEL
Initial value:
= {
{"TRACE",Level::TRACE},
{"DEBUG",Level::DEBUG},
{"INFO",Level::INFO},
{"WARN",Level::WARN},
{"ERROR",Level::ERROR},
{"FATAL",Level::FATAL},
}

Level labels for logging facilities

Author
Vincent Lachenal
const std::map<const Level,const std::string> anch::logger::LEVEL_LABEL
Initial value:
= {
{Level::TRACE,"TRACE"},
{Level::DEBUG,"DEBUG"},
{Level::INFO,"INFO"},
{Level::WARN,"WARN"},
{Level::ERROR,"ERROR"},
{Level::FATAL,"FATAL"},
}

Level labels for logging facilities

Author
Vincent Lachenal