printerr


Description:

[ PrintfFormat ]
public void printerr (string format, ...)

Outputs a formatted message via the error message handler.

The default handler outputs the encoded message to `stderr`, without appending a trailing new-line character. Typically, format should end with its own new-line character.

This function should not be used from within libraries. Instead [func@GLib.log] or [func@GLib.log_structured] should be used, or the convenience macros [func@GLib.message], [func@GLib.warning] and [func@GLib.error].

Parameters:

format

the message format. See the `printf()` documentation

...

the parameters to insert into the format string


Namespace: GLib
Package: glib-2.0