1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-20 16:16:37 +02:00

Make message formatting behaviour same as previous version

This commit is contained in:
Anton Nizhegorodov
2016-11-16 01:35:25 +02:00
committed by Haralan Dobrev
parent 5fa5e37305
commit 506e1b99e4
2 changed files with 25 additions and 1 deletions

View File

@@ -191,4 +191,12 @@ class SlackHandler extends SocketHandler
return $this;
}
public function getFormatter()
{
$formatter = parent::getFormatter();
$this->slackRecord->setFormatter($formatter);
return $formatter;
}
}