定制 graze/monolog-extensions 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

graze/monolog-extensions

Composer 安装命令:

composer require graze/monolog-extensions

包简介

Monolog extensions for use within Graze

README 文档

README

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads PHP 5.6 PHP 7.0

This library supplies additional log handlers, formatters and processors for use with Monolog. The intention is to make use of the library internally with the aim to eventually submit relevant parts to Monolog core.

It can be installed in whichever way you prefer, but we recommend Composer.

$ composer require graze/monolog-extensions

ErrorHandlerBuilder usage

<?php
use Aws\DynamoDb\DynamoDbClient;
use Graze\Monolog\ErrorHandlerBuilder;

$builder = new ErrorHandlerBuilder();
$builder->setName('project-name')
        ->addHandler(/**$handler**/);

$builder->buildAndRegister();

RaygunHandler Usage

<?php
use Graze\Monolog\Handler\RaygunHandler;
use Monolog\Logger;
use Raygun4php\RaygunClient;

// Create the client, using the Raygun SDK
$client = new RaygunClient('api-key');

// Create the handler
$handler = new RaygunHandler($client);

// Create the logger
$logger = new Logger('project-name', array($handler));

Contributing

We accept contributions to the source via Pull Request, but passing unit tests must be included before it will be considered for merge.

$ make
$ make test

License

The content of this library is released under the MIT License by Nature Delivered Ltd.

统计信息

  • 总下载量: 95.49k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 15
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2013-10-10

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固