diff --git a/components/console/logger.rst b/components/console/logger.rst index d5fda564540..207e7172daa 100644 --- a/components/console/logger.rst +++ b/components/console/logger.rst @@ -98,8 +98,8 @@ constructor:: // ... $formatLevelMap = array( - LogLevel::CRITICAL => ConsoleLogger::INFO, - LogLevel::DEBUG => ConsoleLogger::ERROR, + LogLevel::CRITICAL => ConsoleLogger::ERROR, + LogLevel::DEBUG => ConsoleLogger::INFO, ); $logger = new ConsoleLogger($output, array(), $formatLevelMap);