summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/log.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/log.hpp b/src/log.hpp
index 154de03..5bdcc96 100644
--- a/src/log.hpp
+++ b/src/log.hpp
@@ -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