diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-01-06 16:27:51 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-01-06 16:27:51 +0000 |
commit | edbf8c405d6f8dca694695519478f7efe826fbb8 (patch) | |
tree | 178c9eaae618e904a456c08d78bf900b285b7611 | |
parent | d6d033377bb93925aff848da3a3dfa51e7c20a8a (diff) | |
download | rspamd-edbf8c405d6f8dca694695519478f7efe826fbb8.tar.gz rspamd-edbf8c405d6f8dca694695519478f7efe826fbb8.zip |
Show debug output in libraries.
-rw-r--r-- | src/logger.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logger.h b/src/logger.h index 50b9fe41b..94d9f5f6a 100644 --- a/src/logger.h +++ b/src/logger.h @@ -103,7 +103,7 @@ void rspamd_log_nodebug (rspamd_logger_t *logger); #define msg_warn(...) rspamd_default_log_function(G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) #define msg_info(...) rspamd_default_log_function(G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) #define msg_debug(...) rspamd_default_log_function(G_LOG_LEVEL_DEBUG, __FUNCTION__, __VA_ARGS__) -#define debug_task(...) do {} while(0) +#define debug_task(...) rspamd_default_log_function(G_LOG_LEVEL_DEBUG, __FUNCTION__, __VA_ARGS__) #endif #endif |