1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-08 14:16:42 +02:00

Expose a getter for the SlackRecord in Slack handlers

This commit is contained in:
Haralan Dobrev
2016-11-14 23:08:40 +02:00
parent 000a21969f
commit 862c0875d2
2 changed files with 10 additions and 0 deletions

View File

@@ -78,6 +78,11 @@ class SlackHandler extends SocketHandler
$this->token = $token;
}
public function getSlackRecord()
{
return $this->slackRecord;
}
/**
* {@inheritdoc}
*

View File

@@ -72,6 +72,11 @@ class SlackWebhookHandler extends AbstractProcessingHandler
);
}
public function getSlackRecord()
{
return $this->slackRecord;
}
/**
* {@inheritdoc}
*