Logging functions
- From: Reinhard Mueller <reinhard mueller bytewise at>
- To: gtk-list gnome org
- Subject: Logging functions
- Date: Fri, 22 Jun 2001 00:47:24 +0200
Hi all,
is there a reason why there are the functions
g_error
g_critical
g_warning
g_message
but not
g_info
g_debug
?
Something like
#define g_info(...) g_log(G_LOG_DOMAIN, G_LOG_LEVEL_INFO, __VA_ARGS__)
#ifdef G_DEBUG
#define g_debug(...) g_log(G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, __VA_ARGS__)
#else
#define g_debug(...)
#endif
could be helpful.
Just an idea. :)
--
Reinhard Mueller
GNU Enterprise project
http://www.gnue.org
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]