move logger into global namespace