Refactoring Clearsale::LoggerFormatterFilter