uniplaces/request-logger-bundle
Composer 安装命令:
composer require uniplaces/request-logger-bundle
包简介
Symfony bundle to log information about the request like method, uri, latency
README 文档
README
This project is a symfony bundle that can be added to other projects to log api requests. It logs request information like method, uri, latency.
This is an example of a log:
Packagist
https://packagist.org/packages/uniplaces/request-logger-bundle
How to use it in your project
Add the bundle to your project dependencies:
composer require uniplaces/request-logger-bundle
Then, make sure the RequestLoggerBundle was added to your project's bundles.
If your project has a bundles.php file with an array of vendor bundles, add the RequestLoggerBundle there:
Uniplaces\RequestLoggerBundle\UniplacesRequestLoggerBundle::class => ['all' => true]
Log data
- method
- path
- content-type
- latency
- client-ip
- status_code
- user-agent
统计信息
- 总下载量: 1.94k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-04-20
