1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-05 04:37:38 +02:00
This commit is contained in:
Jordi Boggiano
2013-07-29 00:08:51 +02:00
parent e2e041eded
commit 4277c5db4a
7 changed files with 35 additions and 30 deletions

View File

@@ -108,11 +108,13 @@ class PushoverHandler extends SocketHandler
$this->user = null;
}
public function setHighPriorityLevel($value) {
public function setHighPriorityLevel($value)
{
$this->highPriorityLevel = $value;
}
public function setEmergencyLevel($value) {
public function setEmergencyLevel($value)
{
$this->emergencyLevel = $value;
}
}

View File

@@ -140,6 +140,7 @@ class RavenHandler extends AbstractProcessingHandler
if (isset($record['context']['exception']) && $record['context']['exception'] instanceof \Exception) {
$options['extra']['message'] = $record['formatted'];
$this->ravenClient->captureException($record['context']['exception'], $options);
return;
}

View File

@@ -54,10 +54,12 @@ class StubNewRelicHandler extends NewRelicHandler
}
}
function newrelic_notice_error() {
function newrelic_notice_error()
{
return true;
}
function newrelic_add_custom_parameter() {
function newrelic_add_custom_parameter()
{
return true;
}