diff options
Diffstat (limited to 'include/log.h')
-rw-r--r-- | include/log.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/log.h b/include/log.h index 59d2ed3..489d6c2 100644 --- a/include/log.h +++ b/include/log.h @@ -34,7 +34,7 @@ // F stands for format: needed to have printf-style formatting // P stands for perror -#ifdef LOG_DEBUG +#if defined(LOG_DEBUG) || defined(DEBUG) || defined(DBG) || defined(Debug) || defined(debug) // Log debug # define LDEBUG(msg) fputs("[DEBUG] " msg NL, stderr) # define LDEBUGV(msg) fprintf(stderr, "[DEBUG %s:%i@%s] " msg NL, __FILE__, __LINE__, __func__) @@ -82,3 +82,4 @@ #define LFAILV(msg) do { fprintf(stderr, RED "[CRITICAL %s:%i@%s] ", __FILE__, __LINE__, __func__); perror(msg); fputs(NLRST, stderr); exit(EXIT_FAILURE); } while(0) +/* vim: set ts=8 noet: */ |