• | When debugging messages are logged, information about the source code file and line number are included. Information about the calling function is also added, but some compilers may have trouble determining the current function name, depending on your c++ preprocessor. JrDebugLogger tries to guess what macro name to use but if it fails on your compiler, you can set the proper macro explicitly, in jrdebug.h. You may also need to uncomment this to set __func__ to "" if your compiler complains that __func__ is not defined. |
// If your compiler does not support the __func__ macro, you need to
// define a replacement or uncomment this to make it blank.
// #define __func__ ""
|