1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-19 23:56:17 +02:00
This commit is contained in:
Jordi Boggiano
2014-09-29 23:07:02 +01:00
parent 60f8561ffa
commit 0edd89d556
5 changed files with 14 additions and 23 deletions

View File

@@ -38,7 +38,7 @@ class SlackHandler extends SocketHandler
* @var string
*/
private $username;
/**
* Emoji icon name
* @var string
@@ -127,11 +127,11 @@ class SlackHandler extends SocketHandler
} else {
$dataArray['text'] = $record['message'];
}
if ($this->iconEmoji !== null) {
$dataArray['icon_emoji'] = ":{$this->iconEmoji}:";
}
return http_build_query($dataArray);
}