B2BITS FIX Antenna HFT  1.0.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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_WARN = 2, LS_ERROR = 3,
  LS_FATAL = 4, LS_CYCLE = 5, 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

typedef int Utils::Log::Levels

Levels.

Enumeration Type Documentation

Log levels.

Enumerator
LS_NOTE 
LS_DEBUG 
LS_WARN 
LS_ERROR 
LS_FATAL 
LS_CYCLE 
LEVELS_LAST 

Function Documentation

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

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

Variable Documentation

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

Managed devices names.

WARNING: the order of names is important!

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

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