summaryrefslogtreecommitdiffstats
path: root/common/msg.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/msg.h')
-rw-r--r--common/msg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/msg.h b/common/msg.h
index 5c580b8b84..b0cec7b88a 100644
--- a/common/msg.h
+++ b/common/msg.h
@@ -60,6 +60,8 @@ static inline bool mp_msg_test(struct mp_log *log, int lev)
return lev <= mp_msg_level(log);
}
+void mp_msg_set_max_level(struct mp_log *log, int lev);
+
// Convenience macros.
#define mp_fatal(log, ...) mp_msg(log, MSGL_FATAL, __VA_ARGS__)
#define mp_err(log, ...) mp_msg(log, MSGL_ERR, __VA_ARGS__)