Class CLogger#

Class Documentation#

class CLogger#

Logger class, creating a log file at the location of the executable and using the same filename as the executable with the .log extension.

Public Functions

inline CLogger()#

Constructor, creating the file. If the file exists, it will be overwritten.

inline ~CLogger()#

Destructor.

inline void Log(const std::string &rss)#

Log an entry. The text will be indented dependable on the depth of the logging.

Parameters:

rss[in] Reference to the string to log.

inline void IncrDepth()#

Increase the depth. This will indent the log.

inline void DecrDepth()#

Decrease the depth. This might decrease the indentation.