Refactored Logger class
Refactored a method and had a failing test