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. Since 2.6

class MessageLog
static
logSetDefaultHandler

Parameters

logFunc GLogFunc

the log handler function

userData void*

data passed to the log handler

Return Value

Type: GLogFunc

the previous default log handler

Meta