alpixel/loggingbundle
Composer 安装命令:
composer require alpixel/loggingbundle
包简介
This bundle is used by our team to build a CMS tool on top of Sonata
README 文档
README
Purpose of this bundle is to offer better automation of log handler. Mainly about Slack reporting.
Configuration
In your AppKernel
new Alpixel\Bundle\LoggingBundle\AlpixelLoggingBundle(),
new Symfony\Bundle\MonologBundle\MonologBundle(),
In your config.yml
alpixel_logging:
slack:
token: "my token"
bot_name: "Error Bot"
channel: "alerts"
debug: false #To activate in debug environment
Don't forget to remove any basic logging configuration in your config_prod and config_dev.yml
统计信息
- 总下载量: 4.63k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-09-20