Fork me on GitHub
Library for MQL5 (MetaTrader) with support for Spark
CLog4Mql Class Reference

Detailed Description

Inheritance diagram for CLog4Mql:
CLog4MqlFile

The documentation for this class was generated from the following file:

Public Member Functions

_LOG_CLASSa (const string value)
 Adds the value of the variable to the message. More...
 
_LOG_CLASSadd (const string value)
 Adds the value of the variable to the message. More...
 
virtual string build ()
 Compile and display a message. More...
 

Static Public Member Functions

static _LOG_CLASStrace (const string text)
 
static _LOG_CLASSdebug (const string text)
 
static _LOG_CLASSinfo (const string text)
 
static _LOG_CLASSwarn (const string text)
 
static _LOG_CLASSerror (const string text)
 
static bool isTraceEnabled ()
 
static bool isDebugEnabled ()
 
static bool isInfoEnabled ()
 
static bool isWarnEnabled ()
 
static bool isErrorEnabled ()
 

Static Public Attributes

static bool doPrint = true
 Use Print() ? More...
 

Protected Member Functions

 CLog4Mql (LOG_LEVEL lvl, const string text)
 
 ~CLog4Mql ()
 
string buildMessage ()
 
virtual string getLevel ()
 
virtual string getMessage ()
 

Protected Attributes

string message
 
string args []
 
LOG_LEVEL lglvl
 

Constructor & Destructor Documentation

◆ CLog4Mql()

CLog4Mql::CLog4Mql ( LOG_LEVEL  lvl,
const string  text 
)
protected

◆ ~CLog4Mql()

CLog4Mql::~CLog4Mql ( )
protected

Member Function Documentation

◆ a()

_LOG_CLASS* CLog4Mql::a ( const string  value)

Adds the value of the variable to the message.

◆ add()

_LOG_CLASS* CLog4Mql::add ( const string  value)

Adds the value of the variable to the message.

◆ build()

virtual string CLog4Mql::build ( )
virtual

Compile and display a message.

See also
http://www.slf4j.org/apidocs/org/slf4j/helpers/MessageFormatter.html

Reimplemented in CLog4MqlFile.

◆ buildMessage()

string CLog4Mql::buildMessage ( )
protected

◆ debug()

static _LOG_CLASS* CLog4Mql::debug ( const string  text)
static

◆ error()

static _LOG_CLASS* CLog4Mql::error ( const string  text)
static

◆ getLevel()

virtual string CLog4Mql::getLevel ( )
protectedvirtual

◆ getMessage()

virtual string CLog4Mql::getMessage ( )
protectedvirtual

◆ info()

static _LOG_CLASS* CLog4Mql::info ( const string  text)
static

◆ isDebugEnabled()

static bool CLog4Mql::isDebugEnabled ( )
static

◆ isErrorEnabled()

static bool CLog4Mql::isErrorEnabled ( )
static

◆ isInfoEnabled()

static bool CLog4Mql::isInfoEnabled ( )
static

◆ isTraceEnabled()

static bool CLog4Mql::isTraceEnabled ( )
static

◆ isWarnEnabled()

static bool CLog4Mql::isWarnEnabled ( )
static

◆ trace()

static _LOG_CLASS* CLog4Mql::trace ( const string  text)
static

◆ warn()

static _LOG_CLASS* CLog4Mql::warn ( const string  text)
static

Member Data Documentation

◆ args

string CLog4Mql::args[]
protected

◆ doPrint

bool CLog4Mql::doPrint = true
static

Use Print() ?

◆ lglvl

LOG_LEVEL CLog4Mql::lglvl
protected

◆ message

string CLog4Mql::message
protected