mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-24 05:43:08 +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:
@@ -29,6 +29,8 @@ class RavenFormatter extends NormalizerFormatter
|
|||||||
Logger::INFO => Raven_Client::INFO,
|
Logger::INFO => Raven_Client::INFO,
|
||||||
Logger::WARNING => Raven_Client::WARNING,
|
Logger::WARNING => Raven_Client::WARNING,
|
||||||
Logger::ERROR => Raven_Client::ERROR,
|
Logger::ERROR => Raven_Client::ERROR,
|
||||||
|
Logger::CRITICAL => Raven_Client::ERROR,
|
||||||
|
Logger::ALERT => Raven_Client::ERROR,
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user