More advanced logging, no more global namespace spoiling