MessageLog.logSetDefaultHandler

Installs a default log handler which is used if no log handler has been set for the particular log domain and log level combination. By default, GLib uses g_log_default_handler() as default log handler.

struct MessageLog
static
logSetDefaultHandler

Parameters

logFunc GLogFunc

the log handler function

userData void*

data passed to the log handler

Return: the previous default log handler

Meta