staticlib_config  1.1.1
 All Classes Namespaces Files Functions Macros
Classes | Functions
staticlib::config Namespace Reference

Classes

class  assert_exception
 Assert-specific exception. More...

Functions

std::string tracemsg (const std::string &message, const std::string &file, const std::string &func, int line)
 Prepends specified message with formatted current function name, source file name and line number.

Function Documentation

std::string staticlib::config::tracemsg ( const std::string &  message,
const std::string &  file,
const std::string &  func,
int  line 
)
inline

Prepends specified message with formatted current function name, source file name and line number.

Can be used through macro shortcut as TRACEMSG("Hi")

Parameters
messageinput message
filesource filename, __FILE__ macro is used in TRACEMSG macro
funccurrent function name, STATICLIB_CURRENT_FUNCTION macro is used in TRACEMSG macro
linecurrent line in source file, __LINE__ macro is used in TRACEMSG macro
Returns
message string prepended with specified data

STATICLIB_ANDROID