nohponex/monolog-datadog-handler
Composer 安装命令:
composer require nohponex/monolog-datadog-handler
包简介
Monolog Handler that uses Datadog
README 文档
README
Monolog Handler that uses Datadog
Implemented for TCP Submission to Datadog API using datadog/php-datadogstatsd
Installation
composer require nohponex/monolog-datadog-handler
Basic Usage
<?php use Nohponex\MonologDataDogHandler\DataDogHandler; $tag = [ sprintf( 'environment:%s', 'ci' ), sprintf( 'instance:%s', 'api' ) ]; $log = new Logger('name'); $log->pushHandler( new DataDogHandler( 'xxxx', 'yyy', $tag, \Monolog\Logger::INFO ) );
License
nohponex/monolog-datadog-handler is licensed under the MIT License - see the LICENSE file for details
统计信息
- 总下载量: 44.24k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-01-23