定制 gokure/hyperf-http-logger 二次开发

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

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

gokure/hyperf-http-logger

最新稳定版本:v3.1.0

Composer 安装命令:

composer require gokure/hyperf-http-logger

包简介

Log HTTP requests and responses for Hyperf.

README 文档

README

A middleware which can log incoming requests and responses to the log.

Installation

Require the gokure/hypref-http-logger package in your composer.json and update your dependencies:

composer require gokure/hypref-http-logger

Optionally you can publish the configuration file with:

php bin/hyperf.php vendor:publish gokure/hypref-http-logger

Usage

To allow HTTP Logger in your application, add the HttpLoggerMiddleware middleware at the top of the property of config/autoload/middlewares.php file in the config (see Configuration below):

'http' => [
    \Gokure\HttpLogger\HttpLoggerMiddleware::class,
    ...
],

License

Released under the MIT License, see LICENSE.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-05-11