mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-05 20:57:36 +02:00
LineFormatter if configured to use short attachment
This commit is contained in:
committed by
Jordi Boggiano
parent
25131bb5f6
commit
3521455e51
@@ -96,7 +96,8 @@ class SlackHandler extends SocketHandler
|
|||||||
$this->useAttachment = $useAttachment;
|
$this->useAttachment = $useAttachment;
|
||||||
$this->useShortAttachment = $useShortAttachment;
|
$this->useShortAttachment = $useShortAttachment;
|
||||||
$this->includeContextAndExtra = $includeContextAndExtra;
|
$this->includeContextAndExtra = $includeContextAndExtra;
|
||||||
if ($this->includeContextAndExtra) {
|
|
||||||
|
if ($this->includeContextAndExtra && $this->useShortAttachment) {
|
||||||
$this->lineFormatter = new LineFormatter;
|
$this->lineFormatter = new LineFormatter;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user