library monolog
Slack handler for monolog
inisire/monolog
Slack handler for monolog
- Thursday, March 24, 2016
- by inisire
- Repository
- 1 Watchers
- 1 Stars
- 1 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 1 Versions
- 0 % Grown
Monolog
Slack handler for monolog, (*1)
Usage
Example for Symfony2., (*2)
Create channel:, (*3)
```yml
slack.channel.log:
class: Slack\Model\Channel
arguments: ["https://hooks.slack.com/services/XXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"], (*4)
monolog.handler.slack:
class: Monolog\Handler\Custom\SlackHandler
calls:
- [setLevel, [400]]
- [setChannel, [@slack.channel.log]]
`, (*5)
dev-master
9999999-dev
Slack handler for monolog
Sources
Download
proprietary
The Requires