1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-06 05:07:36 +02:00

Merge pull request #1164 from gmponos/slack_formatter_constructor

Remove from slack handler on constructing the SlackRecord to pass the Formatte
This commit is contained in:
Jordi Boggiano
2018-06-17 18:19:09 +02:00
committed by GitHub
2 changed files with 2 additions and 4 deletions

View File

@@ -63,8 +63,7 @@ class SlackHandler extends SocketHandler
$iconEmoji, $iconEmoji,
$useShortAttachment, $useShortAttachment,
$includeContextAndExtra, $includeContextAndExtra,
$excludeFields, $excludeFields
$this->formatter
); );
$this->token = $token; $this->token = $token;

View File

@@ -60,8 +60,7 @@ class SlackWebhookHandler extends AbstractProcessingHandler
$iconEmoji, $iconEmoji,
$useShortAttachment, $useShortAttachment,
$includeContextAndExtra, $includeContextAndExtra,
$excludeFields, $excludeFields
$this->formatter
); );
} }