aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/logger.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-11-14 15:43:27 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-11-14 15:43:27 +0000
commit2578dd494df557ff527f6ff3611ab718b3e99560 (patch)
treea233ea0ebeda65ba466cebb5226bdfcb90ae910d /src/libutil/logger.h
parent85de501ef8883db60e8202ff15cf0f8a9a275679 (diff)
downloadrspamd-2578dd494df557ff527f6ff3611ab718b3e99560.tar.gz
rspamd-2578dd494df557ff527f6ff3611ab718b3e99560.zip
[Feature] Add exporter from error ringbuf to ucl
Diffstat (limited to 'src/libutil/logger.h')
-rw-r--r--src/libutil/logger.h7
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 */