EPAM B2BITS C++ MOEX/Spectra MarketData handler  1.24.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | Friends | List of all members
B2bits::MD::LogCategory Class Reference

#include <b2bits/engine/LogCategory.h>

Public Member Functions

void note (const std::string &data)
 
void debug (const std::string &data)
 
void trace (const std::string &data)
 
void warn (const std::string &data)
 
void error (const std::string &data)
 
void fatal (const std::string &data)
 
bool isNoteOn () const
 
bool isDebugOn () const
 
bool isTraceOn () const
 
bool isWarnOn () const
 
bool isErrorOn () const
 
bool isFatalOn () const
 
std::string const & name () const
 
bool isNull () const
 
 LogCategory ()
 

Friends

class Engine
 

Detailed Description

Logging category. Use Utils::Log::LogSystem to create category.

Constructor & Destructor Documentation

B2bits::MD::LogCategory::LogCategory ( )
inline

Member Function Documentation

void B2bits::MD::LogCategory::debug ( const std::string &  data)

Writes logging record to the specified for this category devices.

Parameters
dataMessage to write to log.
Note
synchronized.
void B2bits::MD::LogCategory::error ( const std::string &  data)

Writes logging record to the specified for this category devices.

Parameters
dataMessage to write to log.
Note
synchronized.
void B2bits::MD::LogCategory::fatal ( const std::string &  data)

Writes logging record to the specified for this category devices.

Parameters
dataMessage to write to log.
Note
synchronized.
bool B2bits::MD::LogCategory::isDebugOn ( ) const
Returns
true if debug level is turned on.
bool B2bits::MD::LogCategory::isErrorOn ( ) const
Returns
true if error level is turned on.
bool B2bits::MD::LogCategory::isFatalOn ( ) const
Returns
true if fatal level is turned on.
bool B2bits::MD::LogCategory::isNoteOn ( ) const
Returns
true if note level is turned on.
bool B2bits::MD::LogCategory::isNull ( ) const
inline

Returns true if not initialized

bool B2bits::MD::LogCategory::isTraceOn ( ) const
Returns
true if trace level is turned on.
bool B2bits::MD::LogCategory::isWarnOn ( ) const
Returns
true if warning level is turned on.
std::string const& B2bits::MD::LogCategory::name ( ) const

Returns name of the category

void B2bits::MD::LogCategory::note ( const std::string &  data)

Writes logging record to the specified for this category devices.

Parameters
dataMessage to write to log.
Note
synchronized.
void B2bits::MD::LogCategory::trace ( const std::string &  data)

Writes logging record to the specified for this category devices.

Parameters
dataMessage to write to log.
Note
synchronized.
void B2bits::MD::LogCategory::warn ( const std::string &  data)

Writes logging record to the specified for this category devices.

Parameters
dataMessage to write to log.
Note
synchronized.

Friends And Related Function Documentation

friend class Engine
friend