1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-18 10:51:19 +02:00

Map CRITICAL and ALERT to ERROR because raven doesn't have more than

ERROR, because otherwise those messages will fail. As suggested by
@Seldaek in https://github.com/Seldaek/monolog/pull/76/files#r737292
This commit is contained in:
Marc Abramowitz
2012-04-26 11:08:00 -07:00
parent ac161a0caa
commit 0e579f1878

View File

@@ -29,6 +29,8 @@ class RavenFormatter extends NormalizerFormatter
Logger::INFO => Raven_Client::INFO,
Logger::WARNING => Raven_Client::WARNING,
Logger::ERROR => Raven_Client::ERROR,
Logger::CRITICAL => Raven_Client::ERROR,
Logger::ALERT => Raven_Client::ERROR,
);
/**