lunatic/monolog-bunyan-formatter
最新稳定版本:0.1
Composer 安装命令:
composer require lunatic/monolog-bunyan-formatter
包简介
Bunyan Formatter for Monolog
README 文档
README
About
The Bunyan formatter was ported from the Punyan project to support projects which already started with Monolog
Requirements
-
= PHP 5.3
- Composer
Installation
composer require lunatic/monolog-bunyan-formatter
Usage
use Monolog\Logger; use Monolog\Handler\StreamHandler; use Lunatic666\Monolog\Formatter\BunyanFormatter; $log = new Logger('demo'); $handler = new StreamHandler('php://stdout', Logger::INFO); $handler->setFormatter(new BunyanFormatter()); $log->pushHandler($handler); $log->info('Hello, Mr. Bunyan', array('link' => 'https://en.wikipedia.org/wiki/Paul_Bunyan'));
统计信息
- 总下载量: 15.81k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-02-19