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;
|
using std::cerr;
|
||||||
|
|
||||||
#ifndef NDEBUG
|
#ifndef NDEBUG
|
||||||
#define debuglog cerr << "[" << __FILE__ << ":" << __LINE__ << "] DEBUG: "
|
#define debuglog cerr << "[" << __func__ << "():" << __LINE__ << "] DEBUG: "
|
||||||
#else
|
#else
|
||||||
#define debuglog false && cerr
|
#define debuglog false && cerr
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue
Block a user