A class to wrap the function name, filename and line-number location of its construction for the purpose of debugging and tracking unwinding exceptions. More...
#include <uhal/log/log_inserters.location.hpp>
Public Member Functions | |
Location (const char *aFunction, const char *aFile, const uint32_t &aLine) | |
Constructor. More... | |
Public Attributes | |
const char * | mFunction |
the name of the current function as returned by the PRETTY_FUNCTION macro More... | |
const char * | mFile |
the name of the current file as returned by the FILE macro More... | |
const uint32_t | mLine |
the number of the current line as returned by the LINE macro More... | |
A class to wrap the function name, filename and line-number location of its construction for the purpose of debugging and tracking unwinding exceptions.
Definition at line 48 of file log_inserters.location.hpp.
uhal::Location::Location | ( | const char * | aFunction, |
const char * | aFile, | ||
const uint32_t & | aLine | ||
) |
Constructor.
aFunction | the name of the current function as returned by the PRETTY_FUNCTION macro |
aFile | the name of the current file as returned by the FILE macro |
aLine | the number of the current line as returned by the LINE macro |
Definition at line 43 of file log_inserters.location.cpp.
const char* uhal::Location::mFile |
the name of the current file as returned by the FILE macro
Definition at line 63 of file log_inserters.location.hpp.
Referenced by uhal::operator<<().
const char* uhal::Location::mFunction |
the name of the current function as returned by the PRETTY_FUNCTION macro
Definition at line 61 of file log_inserters.location.hpp.
Referenced by uhal::operator<<().
const uint32_t uhal::Location::mLine |
the number of the current line as returned by the LINE macro
Definition at line 65 of file log_inserters.location.hpp.
Referenced by uhal::operator<<().