log


Description:

[ Diagnostics ]
[ PrintfFormat ]
public void log (string? log_domain, LogLevelFlags log_level, string format, ...)

Logs an error or debugging message.

If the log level has been set as fatal, the abort function is called to terminate the program.

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.

Parameters:

log_domain

the log domain, usually G_LOG_DOMAIN

log_level

the log level, either from LogLevelFlags or a user-defined level

format

the message format. See the printf documentation

...

the parameters to insert into the format string


Namespace: GLib
Package: glib-2.0