nux-1.16.0
nux::logging::BlockTracer Class Reference

This class is used to log the entry and exit of a block. More...

#include <NuxCore/Logger.h>

List of all members.

Public Member Functions

 BlockTracer (Logger &logger, Level level, std::string const &function_name, std::string const &filename, int line_number)

Detailed Description

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); ... }

Definition at line 146 of file Logger.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends