mamitech/laravel-http-logger
最新稳定版本:v4.0
Composer 安装命令:
composer require mamitech/laravel-http-logger
包简介
Mamitech Laravel HTTP Logger
README 文档
README
Log all your HTTP request to ECS (Elastic Common Sheme) compliance format data into your selected logging channel.
Installation
Add mamitech/laravel-http-logger to composer.json
Register the service provider in providers array in config/app.php
'providers' => [ // ... Mamitech\LaravelHTTPLogger::class, // ... ],
Publish the config
todo
Set logging channel in config to where you want the HTTP log being sent to.
todo
Usage
Once you add the service provider and middleware to your Laravel application, all HTTP request should be logged to logging channel of your choice.
Test
Run
./vendor/bin/phpunit
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 16.16k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-06-10