From 3b3e21de5aa16fd87b9c2f55726a526cf80fc09e Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Thu, 23 Aug 2012 11:42:04 -0400 Subject: Add missing implementation for event_enable_debug_logging --- log.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'log.c') diff --git a/log.c b/log.c index 32e69d45..ded3fec3 100644 --- a/log.c +++ b/log.c @@ -83,6 +83,14 @@ event_debug_get_logging_mask_(void) #endif #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) { -- cgit v1.2.1