|
μHAL (v2.7.9)
Part of the IPbus software repository
|
Go to the documentation of this file.
34 #ifndef _uhal_log_inserters_location_hpp_
35 #define _uhal_log_inserters_location_hpp_
38 #define ThisLocation() uhal::Location( __PRETTY_FUNCTION__ , __FILE__ , __LINE__ )
58 Location (
const char* aFunction ,
const char* aFile ,
const uint32_t& aLine );
std::ostream & operator<<(std::ostream &aStr, const uhal::HttpResponseType &aHttpResponse)
A class to wrap the function name, filename and line-number location of its construction for the purp...
Location(const char *aFunction, const char *aFile, const uint32_t &aLine)
Constructor.
const char * mFile
the name of the current file as returned by the FILE macro
const uint32_t mLine
the number of the current line as returned by the LINE macro
const char * mFunction
the name of the current function as returned by the PRETTY_FUNCTION macro