Logger to test libraries that supports logging from threads