aboutsummaryrefslogtreecommitdiff
path: root/inc/_.h
diff options
context:
space:
mode:
Diffstat (limited to 'inc/_.h')
-rw-r--r--inc/_.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/inc/_.h b/inc/_.h
index 20b2649..650db16 100644
--- a/inc/_.h
+++ b/inc/_.h
@@ -4,3 +4,4 @@
#define foreach(E, L) for (auto E = (L); E != NULL; E = E->next)
#define forloop(I, F, T) for (auto I = F; I < T; I++)
#define with(I, T) auto I = (T); if (I)
+#define plog(...) printf("\x1b[94mLOG %s:%s:%d\x1b[0m \t", __FILE__, __FUNCTION__, __LINE__), printf(__VA_ARGS__), putchar('\n')