Class CFuncLogger#
Defined in File debug_log.h
Class Documentation#
-
class CFuncLogger#
Function logger class logging the entering and leaving of the function if places at the beginning of the function.
Public Functions
-
inline CFuncLogger(const std::string &rssFunc, const std::string &rssFile, size_t nLine)#
Constructor creating a log entry for entering the function.
- Parameters:
rssFunc – [in] Reference to the function name.
rssFile – [in] Reference to the source file the function is implemented in.
nLine – [in] Reference to the line the function logger object is created.
-
inline ~CFuncLogger()#
Destructor creating a log entry for leaving the function.
-
inline void Checkpoint(size_t nLine)#
Log a function checkpoint.
- Parameters:
nLine – [in] The line number of this checkpoint.
-
inline void Log(const std::string &rss) const#
Log a string.
- Parameters:
rss – [in] Reference to the string to log.
-
inline CFuncLogger(const std::string &rssFunc, const std::string &rssFile, size_t nLine)#