Class CLogControl#
Defined in File logger.h
Class Documentation#
-
class CLogControl#
Log control class used to control the log data.
Remark
Logging is done to std::clog ostream.
Unnamed Group
-
void IncreaseIndent()#
Increase and decrease indentation.
-
void DecreaseIndent()#
Increase and decrease indentation.
Public Functions
-
CLogControl()#
Constructor.
-
void SetVerbosityMode(EVerbosityMode eMode)#
Set verbosity mode.
- Parameters:
eMode – [in] The verbosity mode to set.
-
EVerbosityMode GetVerbosityMode() const#
Get verbosity mode.
- Returns:
Returns the current verbosity mode.
-
void Log(const std::string &rssText, bool bError = false) const#
Report information; indentation will be inserted automatically after a newline.
Remark
Will only be shown when the verbosity mode is on report_all. Errors will be shown when the verbosity mode is on report_all and report_errors.
- Parameters:
rssText – [in] Reference to the string to log.
bError – [in] When set, the text indicates an error.
-
void IncreaseIndent()#