new logger

this will be thread safe