From aaa18e595e573f83fa421819b17d9553ae448d9c Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Thu, 19 Oct 2017 17:18:27 +1100 Subject: [PATCH] [client] adjusted debug output to be more informative --- client/debug.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/debug.h b/client/debug.h index e57fa2b7..3d43122b 100644 --- a/client/debug.h +++ b/client/debug.h @@ -1,7 +1,7 @@ #include #ifdef DEBUG - #define DEBUG_PRINT(type, fmt, args...) do {fprintf(stderr, type " %-30s : %-5u | " fmt "\n", __FUNCTION__, __LINE__, ##args);} while (0) + #define DEBUG_PRINT(type, fmt, args...) do {fprintf(stderr, type " %20s:%-5u | %-20s | " fmt "\n", __FILE__, __LINE__, __FUNCTION__, ##args);} while (0) #else #define DEBUG_PRINT(type, fmt, args...) do {} while(0) #endif