1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-22 09:06:10 +02:00

Added CRITICAL and ALERT levels

This commit is contained in:
Jordi Boggiano
2011-05-02 15:39:46 +02:00
parent 252058251d
commit d3e89dbed1
4 changed files with 58 additions and 18 deletions

View File

@@ -29,10 +29,12 @@ class WildfireFormatter extends LineFormatter 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::DEBUG => 'LOG',
Logger::INFO => 'INFO',
Logger::WARNING => 'WARN',
Logger::ERROR => 'ERROR',
Logger::CRITICAL => 'ERROR',
Logger::ALERT => 'ERROR',
);
/**