mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-17 08:17:42 -04:00
test-time: enable debug mode if EVENT_DEBUG_LOGGING_ALL env set
(cherry picked from commit a11edbfa369f7a99886359b3f4baa69686dc275f)
This commit is contained in:
parent
30662a3ca9
commit
29e2c7f2b7
@ -94,6 +94,10 @@ main(int argc, char **argv)
|
||||
|
||||
evutil_weakrand_seed_(&weakrand_state, 0);
|
||||
|
||||
if (getenv("EVENT_DEBUG_LOGGING_ALL")) {
|
||||
event_enable_debug_logging(EVENT_DBG_ALL);
|
||||
}
|
||||
|
||||
/* Initialize the event library */
|
||||
event_init();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user