senthilhep/hep-laravel-mattermost-chat-log 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

senthilhep/hep-laravel-mattermost-chat-log

Composer 安装命令:

composer require senthilhep/hep-laravel-mattermost-chat-log

包简介

Brings up the option for sending the logs to mattermost chat.

README 文档

README

♥ Made with <love/> And I love <code/>

Laravel/Lumen Mattermost Chat Log

Brings up the option for sending the logs to Mattermost chat from Laravel/Lumen.

Installation

Composer install

composer require senthilhep/hep-laravel-mattermost-chat-log

Add the following code to the channels array in config/logging.php in your laravel/lumen application.

In Laravel, error codes are categorized by levels: Info = 200; Notice = 250; Warning = 300; Error = 400; Critical = 500; Alert = 550; Emergency = 600; Errors reported with a level greater than the configured setting will be logged accordingly. 
'mattermost-chat' => [ 'driver' => 'monolog', 'url' => env('LOG_MATTERMOST_CHAT_WEBHOOK_URL', ''), 'error_level' => env('LOG_MATTERMOST_ERROR_LEVEL' , 400), 'timezone' => env('LOG_MATTERMOST_CHAT_TIMEZONE' , 'Asia/Kolkata'), 'handler' => \Enigma\MattermostChatHandler::class, ], 

You can provide the eight logging levels defined in the RFC 5424 specification: emergency, alert, critical, error, warning, notice, info, and debug

Note*: Make sure to set the LOG_MATTERMOST_CHAT_WEBHOOK_URL env variable.

In order to notify different users for different log levels, you can set the corresponding env keys mentioned to configure in the logging.php file.

License

Copyright © Senthil Prabu

Laravel Mattermost Chat Log is open-sourced software licensed under the MIT license.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固