mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-10 23:24:02 +02:00
Expose a getter for the SlackRecord in Slack handlers
This commit is contained in:
@@ -78,6 +78,11 @@ class SlackHandler extends SocketHandler
|
|||||||
$this->token = $token;
|
$this->token = $token;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getSlackRecord()
|
||||||
|
{
|
||||||
|
return $this->slackRecord;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*
|
*
|
||||||
|
@@ -72,6 +72,11 @@ class SlackWebhookHandler extends AbstractProcessingHandler
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getSlackRecord()
|
||||||
|
{
|
||||||
|
return $this->slackRecord;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user