beberlei/loggly-bundle
最新稳定版本:v0.0.1
Composer 安装命令:
composer require beberlei/loggly-bundle
包简介
Bundle for Symfony2 that extends Monolog for Loggly support
README 文档
README
Bundle is not maintained anymore, but mostly works because of its simplicity.
Loggly handler for Monolog as a Symfony bundle.
The bundle is inspired from Monologgly
Installation
Deps
[WhitewashingLogglyBundle]
git=https://github.com/beberlei/WhitewashingLogglyBundle.git
target=/bundles/Whitewashing/Bundle/LogglyBundle
Kernel
$bundles = array(
//..
new Whitewashing\Bundle\LogglyBundle\WhitewashingLogglyBundle(),
);
Autoload:
$loader->registerNamespaces(array(
//..
'Whitewashing' => __DIR__.'/../vendor/bundles',
));
Configuration
Configure Monolog
monolog:
handlers:
main:
type: fingers_crossed
action_level: error
handler: loggly
loggly:
type: service
id: whitewashing_loggly.monolog_handler
Configure Loggly:
whitewashing_loggly:
# Loggly input key
key: abcdefg
# Loggly API host
host: logs.loggly.com
# Loggly API port (443 for HTTPS, 80 for HTTP)
port: 443
# Level to be logged (defaults to DEBUG)
level: DEBUG
bubble: true
统计信息
- 总下载量: 13.7k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 14
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-2-Clause
- 更新时间: 2012-07-07