wslog: Add a comment

This commit is contained in:
João Valverde 2021-06-06 19:14:45 +01:00 committed by Wireshark GitLab Utility
parent 4e4bef09f9
commit ef0f022f86
1 changed files with 8 additions and 0 deletions

View File

@ -12,6 +12,14 @@
#include <ws_symbol_export.h>
#include <glib.h>
/*
* 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,