summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ouroboros/logs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ouroboros/logs.h b/include/ouroboros/logs.h
index c72fb9ae..6f9986dc 100644
--- a/include/ouroboros/logs.h
+++ b/include/ouroboros/logs.h
@@ -43,6 +43,8 @@
#define LOG_DBG(FMT, ARGS...) do { } while (0)
#endif
+#define LOG_DBGF(FMT, ARGS...) LOG_DBG("%s: " FMT, __FUNCTION__, ##ARGS)
+
#define LOG_MISSING LOG_ERR("Missing code in %s:%d",__FILE__, __LINE__)
#endif