Include function name instead of file name in debuglog.
This commit is contained in:
parent
31950d280d
commit
4cbda2c091
|
@ -25,7 +25,7 @@ namespace mastodonpp
|
|||
using std::cerr;
|
||||
|
||||
#ifndef NDEBUG
|
||||
#define debuglog cerr << "[" << __FILE__ << ":" << __LINE__ << "] DEBUG: "
|
||||
#define debuglog cerr << "[" << __func__ << "():" << __LINE__ << "] DEBUG: "
|
||||
#else
|
||||
#define debuglog false && cerr
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue
Block a user