overfirmament / over-util
A PHP Util Package
v1.1.0
2023-09-03 15:39 UTC
Requires
- php: ^8.1
- guzzlehttp/guzzle: ^7.8
- laravel/framework: ^10.21
- monolog/monolog: ^3.4
README
个人使用的工具包
安装本包后,请在 config/logging.php
文件中加入两项日志 channels:
'http_out' => [ 'driver' => 'daily', 'path' => storage_path('logs/http_out/info.log'), 'level' => env('LOG_LEVEL', 'debug'), 'days' => 14, 'formatter' => Overfirmament\OverUtils\Logger\LogFormatter::class ], "http_in" => [ 'driver' => 'daily', 'path' => storage_path('logs/http_in/info.log'), 'level' => env('LOG_LEVEL', 'debug'), 'days' => 14, 'formatter' => Overfirmament\OverUtils\Logger\LogFormatter::class ],