sofa/laravel-artisan-log
最新稳定版本:1.0.5
Composer 安装命令:
composer require sofa/laravel-artisan-log
包简介
Logging for Laravel artisan commands and scheduled tasks
README 文档
README
Installation
composer require sofa/laravel-artisan-log # Optionally publish configuration to customize behavior: php artisan vendor:publish --provider="Sofa\ArtisanLog\ArtisanLogServiceProvider"
Requires PHP7.4+ and Laravel 7+
This package provides a super simple logging functionality for chosen artisan commands and scheduled jobs.
By default it will start logging in the default channel your app is using:
[2020-05-16 22:00:01] production.INFO: [artisan scheduled starting] reminders:some-reminder
[2020-05-16 22:00:01] production.INFO: [artisan scheduled finished] reminders:some-reminder
[2020-05-16 22:00:01] production.INFO: [artisan starting] reminders:another-reminder
[2020-05-16 22:00:02] production.INFO: [artisan finished] reminders:another-reminder
[2020-05-16 23:00:02] production.INFO: [artisan starting] reminders:another-reminder
[2020-05-16 23:00:02] production.INFO: [artisan failed with exit code: 12] reminders:another-reminder
...
Configuration file contains references and examples how you may want to customize its behavior.
统计信息
- 总下载量: 110.27k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-05-16