StdOutLogger refactoring