debug) { $verbosity = ConsoleOutput::VERBOSITY_DEBUG; } else { $verbosity = ConsoleOutput::VERBOSITY_NORMAL; } $logger = new Logger(new ConsoleOutput($verbosity)); $logger->setLogOutputStyler(new LogOutputStyler()); return $logger; } }