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
其他信息
- 授权协议: MIT
- 更新时间: 2021-05-11