Permalink
Browse files

Add missing implementation for event_enable_debug_logging

  • Loading branch information...
1 parent 07e132e commit 3b3e21de5aa16fd87b9c2f55726a526cf80fc09e Nick Mathewson committed Aug 23, 2012
Showing with 8 additions and 0 deletions.
  1. +8 −0 log.c
View
8 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;

0 comments on commit 3b3e21d

Please sign in to comment.