MessageLog.logv

Logs an error or debugging message.

If the log level has been set as fatal, G_BREAKPOINT() is called to terminate the program. See the documentation for G_BREAKPOINT() for details of the debugging options this provides.

If g_log_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][using-structured-logging] this will output via the structured log writer function (see g_log_set_writer_func()).

struct MessageLog
static
void
logv

Parameters

logDomain string

the log domain, or NULL for the default "" application domain

logLevel GLogLevelFlags

the log level

format string

the message format. See the printf() documentation

args void*

the parameters to insert into the format string