[ Version ( since = "2.6" ) ]
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 [func@GLib.log_default_handler] as default log handler.
This has no effect if structured logging is enabled; see [Using Structured Logging](logging.html#using-structured-logging).
log_func |
the log handler function |
user_data |
data passed to the log handler |
the previous default log handler |