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.
log_func |
the log handler function |
user_data |
data passed to the log handler |
the previous default log handler |