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

Outputs a formatted message via the print handler.

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

print should not be used from within libraries for debugging messages, since it may be redirected by applications to special purpose message windows or even files. Instead, libraries should use log, log_structured, or the convenience macros message, warning and error.



the message format. See the printf documentation


the parameters to insert into the format string

Namespace: GLib
Package: glib-2.0