aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/logger.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-08-24 10:45:38 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-08-24 10:45:38 +0100
commit6e5b3bd6f946073d0bd15885170b920dc9394bc2 (patch)
treeb80d12a5edab0f6fb8227efe76360e4e2c43ceba /src/libserver/logger.h
parent4341e843322919ea4aab895f03e1897fcb86d789 (diff)
downloadrspamd-6e5b3bd6f946073d0bd15885170b920dc9394bc2.tar.gz
rspamd-6e5b3bd6f946073d0bd15885170b920dc9394bc2.zip
[Minor] Detect logger's debug level in lua debug utilities
Diffstat (limited to 'src/libserver/logger.h')
-rw-r--r--src/libserver/logger.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libserver/logger.h b/src/libserver/logger.h
index 9f90fbffa..18662d31d 100644
--- a/src/libserver/logger.h
+++ b/src/libserver/logger.h
@@ -89,6 +89,8 @@ rspamd_logger_t * rspamd_log_open_specific (rspamd_mempool_t *pool,
* @param level
*/
void rspamd_log_set_log_level (rspamd_logger_t *logger, gint level);
+gint rspamd_log_get_log_level (rspamd_logger_t *logger);
+const gchar *rspamd_get_log_severity_string(gint level_flags);
/**
* Set log flags (from enum rspamd_log_flags)
* @param logger