debug
Description:
Example: Logging, debug:
public static int main (string[] args) {
// Use "G_MESSAGES_DEBUG=all ./test" to print debug messages!
// Output: ``** (process:<PID>): DEBUG: <FILENAME>:<LINE>: my 10. debug message``
debug ("my %d. %s", 10, "debug message");
return 0;
}
valac --pkg glib-2.0 GLib.debug.vala
G_MESSAGES_DEBUG=all ./GLib.debug
./GLib.debug
Namespace: GLib
Package: glib-2.0