承接 azagoru/laravel-pachca-logging 相关项目开发

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

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

azagoru/laravel-pachca-logging

Composer 安装命令:

composer require azagoru/laravel-pachca-logging

包简介

Logging to a Pachca in Laravel

README 文档

README

A Pachca based Monolog driver for Laravel

Latest Stable Version Total Downloads License

Install

composer require azagoru/laravel-pachca-logging

Usage

Add the new driver type in your config/logging.php configuration

'channels' => [
    'pachca' => [
        'driver' => 'custom',
        'via' => Azagoru\PachcaLogging\PachcaLogger::class,
        'webhook' => env('LOG_PACHCA_WEBHOOK_URL'),
        'level' => env('LOG_LEVEL', 'debug'),
        'name' => env('APP_NAME') ,
        'maxDepth' => env('LOG_PACHCA_MAX_DEPTH', 2),
        'withTrace' => true,
        'withTraceMarkup' => true,
        'withTraceVendorLines' => true,
    ],
],

And add LOG_PACHCA_WEBHOOK_URL to your .env file.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Make sure to add or update tests as appropriate.

Use Conventional Commits for commit messages.

License

MIT

统计信息

  • 总下载量: 1.14k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-03-23