diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-08-24 10:45:38 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-08-24 10:45:38 +0100 |
commit | 6e5b3bd6f946073d0bd15885170b920dc9394bc2 (patch) | |
tree | b80d12a5edab0f6fb8227efe76360e4e2c43ceba /src/libserver/logger.h | |
parent | 4341e843322919ea4aab895f03e1897fcb86d789 (diff) | |
download | rspamd-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.h | 2 |
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 |