Controlling log level in glib application
- From: David Smith <dave2006 gmail com>
- To: gtk-app-devel-list gnome org
- Subject: Controlling log level in glib application
- Date: Mon, 28 Dec 2009 18:00:21 -0800
Hi,
Is there a way to control what level of logging is shown when a glib
application is run?
For instance, I don't want to change my source code to remove all the
g_debug calls for the release version. Setting a compile flag would be
okay, as would an API call to set what level is shown.
Do I have to implement my own log function for this? (g_log_set_handler)
Dave
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]