mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-22 00:56:08 +02:00
Merge branch '1.x'
This commit is contained in:
@@ -27,7 +27,7 @@ class RavenHandler extends AbstractProcessingHandler
|
||||
/**
|
||||
* Translates Monolog log levels to Raven log levels.
|
||||
*/
|
||||
private $logLevels = [
|
||||
protected $logLevels = [
|
||||
Logger::DEBUG => Raven_Client::DEBUG,
|
||||
Logger::INFO => Raven_Client::INFO,
|
||||
Logger::NOTICE => Raven_Client::INFO,
|
||||
@@ -41,13 +41,13 @@ class RavenHandler extends AbstractProcessingHandler
|
||||
/**
|
||||
* @var string the current application environment (staging|preprod|prod)
|
||||
*/
|
||||
private $environment;
|
||||
protected $environment;
|
||||
|
||||
/**
|
||||
* @var string should represent the current version of the calling
|
||||
* software. Can be any string (git commit, version number)
|
||||
*/
|
||||
private $release;
|
||||
protected $release;
|
||||
|
||||
/**
|
||||
* @var Raven_Client the client object that sends the message to the server
|
||||
@@ -226,7 +226,7 @@ class RavenHandler extends AbstractProcessingHandler
|
||||
*/
|
||||
protected function getExtraParameters(): array
|
||||
{
|
||||
return ['checksum', 'release', 'environment', 'event_id'];
|
||||
return ['contexts', 'checksum', 'release', 'environment', 'event_id'];
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user