set_default_handler


Description:

public void set_default_handler (LogFunc log_func)

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 default_handler as default log handler.

Parameters:

log_func

the log handler function

user_data

data passed to the log handler

Returns:

the previous default log handler


Namespace: GLib.Log
Package: glib-2.0