diff options
Diffstat (limited to 'src/libutil/logger.h')
-rw-r--r-- | src/libutil/logger.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libutil/logger.h b/src/libutil/logger.h index f3ba9da28..d596e54e8 100644 --- a/src/libutil/logger.h +++ b/src/libutil/logger.h @@ -150,6 +150,13 @@ void rspamd_log_lock (rspamd_logger_t *logger); */ const guint64* rspamd_log_counters (rspamd_logger_t *logger); +/** + * Returns errors ring buffer as ucl array + * @param logger + * @return + */ +ucl_object_t * rspamd_log_errorbuf_export (const rspamd_logger_t *logger); + /* Typical functions */ /* Logging in postfix style */ |