Use GLib the logging functions g_debug(), g_error() instead.
Attach a file by drag & drop or click to upload