[grilo] core: document the log level mapping
- From: Victor Manuel Jaquez Leal <vjaquez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo] core: document the log level mapping
- Date: Fri, 10 Sep 2010 11:19:13 +0000 (UTC)
commit 3cf151234a93747ebe6806e705cc88b930c311e1
Author: VÃctor Manuel Jáquez Leal <vjaquez igalia com>
Date: Fri Sep 10 13:15:25 2010 +0200
core: document the log level mapping
Signed-off-by: VÃctor Manuel Jáquez Leal <vjaquez igalia com>
src/grl-log.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/src/grl-log.c b/src/grl-log.c
index 0bbbe0c..c23fef4 100644
--- a/src/grl-log.c
+++ b/src/grl-log.c
@@ -251,8 +251,12 @@ grl_log_valist (GrlLogDomain *domain,
{
gchar *message;
GLogLevelFlags level2flag[GRL_LOG_LEVEL_LAST] = {
- 0, G_LOG_LEVEL_CRITICAL, G_LOG_LEVEL_WARNING, G_LOG_LEVEL_MESSAGE,
- G_LOG_LEVEL_INFO, G_LOG_LEVEL_DEBUG
+ 0, /* GRL_LOG_LEVEL_NONE */
+ G_LOG_LEVEL_CRITICAL, /* GRL_LOG_LEVEL_ERROR */
+ G_LOG_LEVEL_WARNING, /* GRL_LOG_LEVEL_WARNING */
+ G_LOG_LEVEL_MESSAGE, /* GRL_LOG_LEVEL_MESSAGE */
+ G_LOG_LEVEL_INFO, /* GRL_LOG_LEVEL_INFO */
+ G_LOG_LEVEL_DEBUG /* GRL_LOG_LEVEL_DEBUG */
};
g_return_if_fail (domain);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]