use a global logger