aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-log.h
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-log.h')
-rw-r--r--camel/camel-log.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/camel/camel-log.h b/camel/camel-log.h
index fd96461258..2e68fdc770 100644
--- a/camel/camel-log.h
+++ b/camel/camel-log.h
@@ -35,7 +35,13 @@ typedef enum {
NO_LOG = 0,
FULL_DEBUG = 10
} CamelLogLevel;
-
+
+/* the goal here is to be able to have a hard maximum log
+level, given at compilation time, and a soft one, given at
+runtime (with camel_debug_level). For the moment, only
+soft level is implmented, but one day, when performance
+become important, I will set the hard one too */
+
#define CAMEL_LOG(level, args...) camel_log(level,##args)
extern void camel_log(CamelLogLevel level, const gchar *format, ... );