From a5fa537f2eb14052d29cfab34c015a1aa3b84578 Mon Sep 17 00:00:00 2001 From: Slava Zanko Date: Fri, 30 Oct 2009 00:55:36 +0200 Subject: [PATCH] Added macros for simplest debug process (yes, gdb is a better way) Signed-off-by: Slava Zanko --- src/logging.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/logging.h b/src/logging.h index a9d9dbdde..27c00c08f 100644 --- a/src/logging.h +++ b/src/logging.h @@ -11,6 +11,8 @@ events into a central log file that can be used for debugging. */ +#define mc_log_mark() mc_log("%s:%d\n",__FILE,__LINE__) + extern void mc_log(const char *, ...) __attribute__((__format__(__printf__,1,2))); -- 2.11.4.GIT