summaryrefslogtreecommitdiff
path: root/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'log.c')
-rw-r--r--log.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/log.c b/log.c
index 32e69d45..ded3fec3 100644
--- a/log.c
+++ b/log.c
@@ -84,6 +84,14 @@ event_debug_get_logging_mask_(void)
#endif /* EVENT_DEBUG_LOGGING_ENABLED */
void
+event_enable_debug_logging(ev_uint32_t which)
+{
+#ifdef EVENT_DEBUG_LOGGING_ENABLED
+ event_debug_logging_mask_ = which;
+#endif
+}
+
+void
event_set_fatal_callback(event_fatal_cb cb)
{
fatal_fn = cb;