承接 lunatic/monolog-bunyan-formatter 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

GitHub 信息

  • Stars: 2
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-02-19