1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-21 08:36:33 +02:00

Fix formatters to handle new levels

This commit is contained in:
Jordi Boggiano
2012-06-19 20:53:33 +02:00
parent c8ca42764c
commit 9dee289dae
3 changed files with 24 additions and 18 deletions

View File

@@ -24,12 +24,14 @@ class ChromePHPFormatter implements FormatterInterface
* Translates Monolog log levels to Wildfire levels.
*/
private $logLevels = array(
Logger::DEBUG => 'log',
Logger::INFO => 'info',
Logger::WARNING => 'warn',
Logger::ERROR => 'error',
Logger::CRITICAL => 'error',
Logger::ALERT => 'error',
Logger::DEBUG => 'log',
Logger::INFO => 'info',
Logger::NOTICE => 'info',
Logger::WARNING => 'warn',
Logger::ERROR => 'error',
Logger::CRITICAL => 'error',
Logger::ALERT => 'error',
Logger::EMERGENCY => 'error',
);
/**