承接 sofa/laravel-artisan-log 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

sofa/laravel-artisan-log

最新稳定版本:1.0.5

Composer 安装命令:

composer require sofa/laravel-artisan-log

包简介

Logging for Laravel artisan commands and scheduled tasks

README 文档

README

Latest Stable Version MIT Licensed GitHub Tests Action Status Total Downloads

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

GitHub 信息

  • Stars: 4
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-05-16