MessageLog.logDefaultHandler

The default log handler set up by GLib; g_log_set_default_handler() allows to install an alternate default log handler. This is used if no log handler has been set for the particular log domain and log level combination. It outputs the message to stderr or stdout and if the log level is fatal it calls abort(). The behavior of this log handler can be influenced by a number of

class MessageLog
static
void
logDefaultHandler

Parameters

logDomain string

the log domain of the message

logLevel GLogLevelFlags

the level of the message

message string

the message

unusedData void*

data passed from g_log() which is unused

Meta