aboutsummaryrefslogtreecommitdiffstats
path: root/include/log.h
diff options
context:
space:
mode:
authorjustanothercatgirl <sotov@twistea.su>2025-02-08 22:13:25 +0300
committerjustanothercatgirl <sotov@twistea.su>2025-02-08 22:13:25 +0300
commitff8ab43201e5c862003d9353016409c13691562c (patch)
treed186e830acfbc21b5cc771ce58a1cc09c0e7610c /include/log.h
parente14c6bc3801be29eb5a64c813754b170a67d4956 (diff)
Changed comments style, added array deletion functions
Diffstat (limited to 'include/log.h')
-rw-r--r--include/log.h3
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: */