title: How to control level of debugging info in glib?
body: <p>I have a library written in C with glib/gobject. It produces significant number of debugging information via <code>g_debug()</code> call. This info is very helpful for troubleshooting, however I do not want it to be shown, when library is included with actual application. So, basically I need a way to control/filter amount of debugging information and I could not figure out how it supposed to work with glib. Could someone point me in the right direction, please?</p>