logentries/logentries-monolog-handler 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

logentries/logentries-monolog-handler

最新稳定版本:v2.1

Composer 安装命令:

composer require logentries/logentries-monolog-handler

包简介

A handler for Monolog that sends messages to Logentries.com.

README 文档

README

This plug in will no longer be officially supported or maintained by Logentries.

Current Version: 2.1

Installation

Add the following to your composer.json and run composer update

{
    "require": {
        "logentries/logentries-monolog-handler": "dev-master"
    }
}

Usage

$monolog->pushHandler(new Logentries\Handler\LogentriesHandler('YOUR_TOKEN'));

Full example

$monolog = new Logger('TestLog');
$monolog->pushHandler(new LogentriesHandler('YOUR_TOKEN'));
$monolog->addWarning('This is a warning logging message');

Links

logentries.com

统计信息

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

GitHub 信息

  • Stars: 43
  • Watchers: 26
  • Forks: 9
  • 开发语言: PHP

其他信息

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