the log domain application domain
the log levels to apply the log handler for. To handle fatal and recursive messages as well, combine the log levels with the GLib.LogLevelFlags.FLAG_FATAL and GLib.LogLevelFlags.FLAG_RECURSION bit flags.
the log handler function
the ID of the new handler
Like GLib.log_set_handler, but takes a destroy notify for the
user_data.This has no effect if structured logging is enabled; see Using Structured Logging.
The
log_domainparameter can be set toNULLor an empty string to use the default application domain.