Via Composer
$ composer require exileed/rocketchat-monolog
Base usage
$webhook = 'https://rocket.chat.local/hooks/bd97pizfGu3S5q5oT/ggdfhryhge';
$channelId = '12345';
$rocketChatHandler = new RocketChatHandler\RocketChatHandler([$webhook], $channelId);
$monolog = new Monolog\Logger('Rocket.Chat');
$monolog->pushHandler($rocketChatHandler);
Please see CHANGELOG for more information on what has changed recently.
$ composer test
If you discover any security related issues, please email me@exileed.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.
- Async request