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.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/camel/camel-log.h b/camel/camel-log.h
index dfe023cc3c..5ab9f8f405 100644
--- a/camel/camel-log.h
+++ b/camel/camel-log.h
@@ -34,11 +34,12 @@ extern FILE *camel_log_file_descriptor;
typedef enum {
NO_LOG = 0,
STRANGE = 5,
- WARNING = 7,
+ WARNING = 6,
+ TRACE = 8,
FULL_DEBUG = 10
} CamelLogLevel;
-#define HARD_LOG_LEVEL FULL_DEBUG
+#define HARD_LOG_LEVEL TRACE
/* the idea here is to be able to have a hard maximum log
level, given at compilation time, and a soft one, given at
@@ -46,6 +47,7 @@ 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, ... );