本周日【珠海源创会】一起聊聊:PingCAP分布式事务、支付宝移动端实践、GSBN技术框架选型,点此报名占座

罗晓俊 / monolog-co-stream-handlerPHPApache-2.0

Watch 1 Star 1 Fork 0
加入码云
与超过 300 万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
Monolog Coroutine StreamHandler 展开 收起

取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README.md

monolog-co-stream-handler

Build Status

中文版

描述

Monolog coroutine stream handler based on swoole coroutine.

环境依赖

  1. Swoole2.1.0+ (编译时请添加参数 --enable-openssl --enable-coroutine)
  2. PHP7.1+
  3. 勿同时安装opencensus扩展,经测试有内存泄漏问题

安装

composer require "luoxiaojun1992/monolog-co-stream-handler:*"

或添加 requirement 到 composer.json

{
  "require": {
    "luoxiaojun1992/monolog-co-stream-handler": "*"
  }
}

使用示例

请参考 tests/HandlerTests.php

English Version

Description

Monolog coroutine stream handler based on swoole coroutine.

Requirements

  1. Swoole2.1.0+ (compile with arguments --enable-openssl --enable-coroutine)
  2. PHP7.1+
  3. Don't install opencensus extension to avoiding memory leak.

Installation

composer require "luoxiaojun1992/monolog-co-stream-handler:*"

or add a requirement to composer.json

{
  "require": {
    "luoxiaojun1992/monolog-co-stream-handler": "*"
  }
}

Usage

Please see tests/HandlerTests.php.

项目点评 ( 0 )

你可以在登录后,发表评论

搜索帮助

12_float_left_people 12_float_left_close