Logs an error or debugging message.
If the log level has been set as fatal, breakpoint is called to terminate the program. See the documentation for breakpoint for details of the debugging options this provides.
If default_handler is used as the log handler function, a new-line character
will automatically be appended to ...
, and need not be entered manually.
If structured logging is enabled this will output via the structured log writer function (see set_writer_func).
log_domain |
the log domain, or null for the default "" application domain |
log_level |
the log level |
format |
the message format. See the printf documentation |
args |
the parameters to insert into the format string |