Make logger global