mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-05 04:37:38 +02:00
CS fixes
This commit is contained in:
@@ -108,11 +108,13 @@ class PushoverHandler extends SocketHandler
|
|||||||
$this->user = null;
|
$this->user = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setHighPriorityLevel($value) {
|
public function setHighPriorityLevel($value)
|
||||||
|
{
|
||||||
$this->highPriorityLevel = $value;
|
$this->highPriorityLevel = $value;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setEmergencyLevel($value) {
|
public function setEmergencyLevel($value)
|
||||||
|
{
|
||||||
$this->emergencyLevel = $value;
|
$this->emergencyLevel = $value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -140,6 +140,7 @@ class RavenHandler extends AbstractProcessingHandler
|
|||||||
if (isset($record['context']['exception']) && $record['context']['exception'] instanceof \Exception) {
|
if (isset($record['context']['exception']) && $record['context']['exception'] instanceof \Exception) {
|
||||||
$options['extra']['message'] = $record['formatted'];
|
$options['extra']['message'] = $record['formatted'];
|
||||||
$this->ravenClient->captureException($record['context']['exception'], $options);
|
$this->ravenClient->captureException($record['context']['exception'], $options);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -54,10 +54,12 @@ class StubNewRelicHandler extends NewRelicHandler
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function newrelic_notice_error() {
|
function newrelic_notice_error()
|
||||||
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
function newrelic_add_custom_parameter() {
|
function newrelic_add_custom_parameter()
|
||||||
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user