diff options
Diffstat (limited to 'src/logger.h')
-rw-r--r-- | src/logger.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/logger.h b/src/logger.h index fe6e0bda5..9b419c8a6 100644 --- a/src/logger.h +++ b/src/logger.h @@ -62,6 +62,15 @@ void rspamd_common_log_function (GLogLevelFlags log_level, const char *function, */ void rspamd_conditional_debug (uint32_t addr, const char *function, const char *fmt, ...) ; +/** + * Temporary turn on debug + */ +void rspamd_log_debug (); + +/** + * Turn off debug + */ +void rspamd_log_nodebug (); /* Typical functions */ |