nux-1.14.0
|
This class is used to log the entry and exit of a block. More...
#include <NuxCore/Logger.h>
Public Member Functions | |
BlockTracer (Logger &logger, Level level, std::string const &function_name, std::string const &filename, int line_number) |
This class is used to log the entry and exit of a block.
Entry is defined as where the object is created. This is most likely going to be defined using the macros defined above. Exit is defined as object destruction, which is normally controlled through the end of scope killing the stack object.
int some_func(params...) { LOG_TRACE_BLOCK(logger); ... }