GLib.log (original) (raw)

Function

GLiblog

Declaration [src]


void
g_log (
  const gchar* log_domain,
  GLogLevelFlags log_level,
  const gchar* format,
  ...
)

Description [src]

This function is not directly available to language bindings.

Parameters

log_domain

Type: const gchar*

The log domain, usually G_LOG_DOMAIN, or NULL for the default.

The argument can be NULL.
The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.

log_level

Type: GLogLevelFlags

The log level, either from GLogLevelFlags or a user-defined level.

format

Type: const gchar*

The message format. See the printf() documentation.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.

...

Type: ``

The parameters to insert into the format string.