diff options
author | Bertrand Guiheneuf <bertrand@src.gnome.org> | 1999-08-01 21:38:28 +0800 |
---|---|---|
committer | Bertrand Guiheneuf <bertrand@src.gnome.org> | 1999-08-01 21:38:28 +0800 |
commit | cac0ba57e6c47acd94600b5add1930301df33c50 (patch) | |
tree | a399fb592b6e5df4afbaa7d1d677d818b3767880 /camel/camel-log.c | |
parent | 5709aa9ef61dc720571acec93085f7d2d4ef4758 (diff) | |
download | gsoc2013-evolution-cac0ba57e6c47acd94600b5add1930301df33c50.tar gsoc2013-evolution-cac0ba57e6c47acd94600b5add1930301df33c50.tar.gz gsoc2013-evolution-cac0ba57e6c47acd94600b5add1930301df33c50.tar.bz2 gsoc2013-evolution-cac0ba57e6c47acd94600b5add1930301df33c50.tar.lz gsoc2013-evolution-cac0ba57e6c47acd94600b5add1930301df33c50.tar.xz gsoc2013-evolution-cac0ba57e6c47acd94600b5add1930301df33c50.tar.zst gsoc2013-evolution-cac0ba57e6c47acd94600b5add1930301df33c50.zip |
merge a lot of work. Rough ChangeLog will follow
svn path=/trunk/; revision=1052
Diffstat (limited to 'camel/camel-log.c')
-rw-r--r-- | camel/camel-log.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/camel/camel-log.c b/camel/camel-log.c index a0dd8007b7..1e6a3cdae6 100644 --- a/camel/camel-log.c +++ b/camel/camel-log.c @@ -23,16 +23,16 @@ #include <config.h> #include "camel-log.h" -int camel_debug_level = 10; +int camel_debug_level = CAMEL_LOG_LEVEL_FULL_DEBUG; FILE *camel_log_file_descriptor = NULL; void -camel_log(CamelLogLevel level, const gchar *format, ... ) +camel_log(guint level, const gchar *format, ... ) { va_list args; - if (camel_log_file_descriptor == NULL) - camel_log_file_descriptor = stderr; - + if (camel_log_file_descriptor == NULL) + camel_log_file_descriptor = stdout; + if (level<=camel_debug_level) { va_start(args, format); |