elementary/graylog-udp
Composer 安装命令:
composer require elementary/graylog-udp
包简介
The wrapper to send log-message to a Graylog server using the UDP transport
README 文档
README
Installation
The preferred way to install this extension is through composer and then run
composer require elementary/graylog-udp
Usage
use elementary\logger\graylog\udp\GraylogUdp; $ex = new GraylogUdp('TestFacility', 'TestHost', 12201); $ex->info('TestMessage', ['clientIp' => '127.0.0.1']);
Testing and Code coverage
Unit Tests are located in tests directory.
You can run your tests and collect coverage with the following command:
vendor/bin/phpunit
Result of coverage will be output into the tests/output directory.
License
For license information check the LICENSE-file.
统计信息
- 总下载量: 155
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 1
其他信息
- 授权协议: MIT
- 更新时间: 2018-03-15