aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/logger.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil/logger.c')
-rw-r--r--src/libutil/logger.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libutil/logger.c b/src/libutil/logger.c
index cd624f831..f55e3529a 100644
--- a/src/libutil/logger.c
+++ b/src/libutil/logger.c
@@ -1478,4 +1478,10 @@ rspamd_logger_configure_modules (GHashTable *mods_enabled)
setbit (log_modules->bitset, id);
}
}
+}
+
+rspamd_logger_t*
+rspamd_logger_get_singleton (void)
+{
+ return default_logger;
} \ No newline at end of file