Small refactor of LogConsoleHandler