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:
@@ -63,8 +63,7 @@ class SlackHandler extends SocketHandler
|
|||||||
$iconEmoji,
|
$iconEmoji,
|
||||||
$useShortAttachment,
|
$useShortAttachment,
|
||||||
$includeContextAndExtra,
|
$includeContextAndExtra,
|
||||||
$excludeFields,
|
$excludeFields
|
||||||
$this->formatter
|
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->token = $token;
|
$this->token = $token;
|
||||||
|
@@ -60,8 +60,7 @@ class SlackWebhookHandler extends AbstractProcessingHandler
|
|||||||
$iconEmoji,
|
$iconEmoji,
|
||||||
$useShortAttachment,
|
$useShortAttachment,
|
||||||
$includeContextAndExtra,
|
$includeContextAndExtra,
|
||||||
$excludeFields,
|
$excludeFields
|
||||||
$this->formatter
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user