Introduce Logger instead of printf