elcweb/monolog-fluentd-bundle
最新稳定版本:v0.0.1
Composer 安装命令:
composer require elcweb/monolog-fluentd-bundle
包简介
Symfony2 Bundle to let Monolog support Fluentd
README 文档
README
Installation
Step 1: Download using composer
{ "require": { "elcweb/monolog-fluentd-bundle": "0.0.*" } }
Now tell composer to download the bundle by running the command:
$ php composer.phar update elcweb/monolog-fluentd-bundle
Step 2: Enable the bundle
Enable the bundle in the kernel:
<?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Elcweb\Monolog\ElcwebMonologFluentdBundle(), ); }
Step 3: configuration
config.yml
monolog:
handlers:
fluentd:
type: service
id: monolog_fluentd.monolog_handler
elcweb_monolog_fluentd:
host: %monolog_fluentd_host%
port: %monolog_fluentd_port%
env: %kernel.environment%
tag: %app_name%
License
This bundle is under the MIT license. See the complete license in the bundle:
Resources/meta/LICENSE
Reporting an issue or a feature request
Issues and feature requests are tracked in the Github issue tracker.
When reporting a bug, it may be a good idea to reproduce it in a basic project built using the Symfony Standard Edition to allow developers of the bundle to reproduce the issue by simply cloning it and following some steps.
统计信息
- 总下载量: 4.24k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-08-27