From ef0f022f8629009daf7c31e204b9d65b1805f6e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Valverde?= Date: Sun, 6 Jun 2021 19:14:45 +0100 Subject: [PATCH] wslog: Add a comment --- wsutil/wslog.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/wsutil/wslog.h b/wsutil/wslog.h index 37409a0e64..87432f12f9 100644 --- a/wsutil/wslog.h +++ b/wsutil/wslog.h @@ -12,6 +12,14 @@ #include #include + +/* + * XXX This API should be consolidated with ui/console.h. The way this works + * (or doesn't) with prefs->console_log_level is also weird, because not all + * log domains are using the same log handler. The function ws_log_full() + * currently ignores the console log level preference. + */ + WS_DLL_PUBLIC void ws_log_full(const char *log_domain, GLogLevelFlags log_level, const char *file, int line, const char *func,