承接 neam/yii-streamlog 相关项目开发

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

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

neam/yii-streamlog

最新稳定版本:1.0.1

Composer 安装命令:

composer require neam/yii-streamlog

包简介

Send Yii 1 logs to stdout/stderr - created to be used with the php-fpm/nginx Docker stack available at http://github.com/neam/docker-stack

README 文档

README

Send Yii 1 logs to stdout/stderr - created to be used with the php-fpm/nginx Docker stack available at http://github.com/neam/docker-stack

Thanks to Haensel for this forum post!

Installation

Install via composer:

composer require neam/yii-streamlog:* 

Or download the extension, copy the src folder to your project and make sure to require the file LogRoute.php at some stage of application initiation.

Usage

Change all your existing routes that use CFileLogRoute to instead use \neam\yii_streamlog\LogRoute:

'components' => array( 'log' => array( 'class' => 'CLogRouter', 'routes' => array( array( 'class' => '\neam\yii_streamlog\LogRoute', 'levels' => 'error, warning', ), ), ), ), 

Also, make sure to set catch_worker_output=yes in your php-fpm pool config.

Links

统计信息

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

GitHub 信息

  • Stars: 4
  • Watchers: 0
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固