aboutsummaryrefslogtreecommitdiff
path: root/log.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2020-01-26 17:36:56 +0100
committerAnton Khirnov <anton@khirnov.net>2020-01-26 17:39:15 +0100
commit246c2746a25121ad51360f2ebb6c4b8073ea10e4 (patch)
tree74ed7928e7dcaa37011afbb5e5d49fdced359ed8 /log.h
parente6c975d48f918856396ce4ae6824b9c387930f3f (diff)
mg2d: create a per-level logging context
Diffstat (limited to 'log.h')
-rw-r--r--log.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/log.h b/log.h
index 99fa9d1..aaf7b84 100644
--- a/log.h
+++ b/log.h
@@ -27,6 +27,7 @@ typedef struct MG2DLogger {
} MG2DLogger;
void mg2di_log(MG2DLogger *log, int level, const char *fmt, ...);
+void mg2di_vlog(MG2DLogger *log, int level, const char *fmt, va_list vl);
void mg2di_log_default_callback(MG2DLogger *log, int level,
const char *fmt, va_list vl);