Closed jagerman closed 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.
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.