B2BITS FIX Antenna C++  2.27.0
Classes | Typedefs | Enumerations | Functions | Variables
Utils::Log Namespace Reference

Logging system namespace. More...

Classes

class  LogCategory
 Logging category. More...
 
class  LogSystem
 Log system manager. More...
 

Typedefs

typedef int Levels
 Levels. More...
 

Enumerations

enum  LEVELS {
  LS_NOTE = 0, LS_DEBUG = 1, LS_TRACE = 2, LS_WARN = 3,
  LS_ERROR = 4, LS_FATAL = 5, LS_CYCLE = 6, LEVELS_LAST
}
 Log levels. More...
 

Functions

static const std::string DEFAULT_CATEGORY ("")
 
static std::string UNSUPPORTED_DEVICE ("Unsupported")
 Name, which will be used for the device if it is not supported. More...
 

Variables

static const std::string DEVICES []
 Managed devices names. More...
 
static const std::string LEVELS_MARKS [LEVELS_LAST]
 String, which will be used in logging for any level. More...
 

Detailed Description

Logging system namespace.

Typedef Documentation

◆ Levels

typedef int Utils::Log::Levels

Levels.

Enumeration Type Documentation

◆ LEVELS

Log levels.

Enumerator
LS_NOTE 
LS_DEBUG 
LS_TRACE 
LS_WARN 
LS_ERROR 
LS_FATAL 
LS_CYCLE 
LEVELS_LAST 

Function Documentation

◆ DEFAULT_CATEGORY()

static const std::string Utils::Log::DEFAULT_CATEGORY ( ""  )
static

◆ UNSUPPORTED_DEVICE()

static std::string Utils::Log::UNSUPPORTED_DEVICE ( "Unsupported"  )
static

Name, which will be used for the device if it is not supported.

Variable Documentation

◆ DEVICES

const std::string Utils::Log::DEVICES[]
static
Initial value:
= {
"Console",
"File",
"Syslog",
"Log4Cplus"
}

Managed devices names.

WARNING: the order of names is important!

◆ LEVELS_MARKS

const std::string Utils::Log::LEVELS_MARKS[LEVELS_LAST]
static
Initial value:
= {
"[INFO] ",
"[DEBUG]",
"[TRACE]",
"[WARN] ",
"[ERROR]",
"[FATAL]",
"[CYCLE]"
}

String, which will be used in logging for any level.