oxen-io / oxen-mq

Communications layer used for both the Oxen storage server and oxend
https://oxen.io
BSD 3-Clause "New" or "Revised" License
19 stars 35 forks source link

Allow null logger #69

Closed jagerman closed 2 years ago

jagerman commented 2 years ago

Currently if you pass a nullptr for Logger you get a random std::bad_function_call called from some random thread the first time a log message goes out.

This fixes it allow a nullptr that logs nothing.