定制 rcrowe/laravel-sentry 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

rcrowe/laravel-sentry

Composer 安装命令:

composer require rcrowe/laravel-sentry

包简介

Tasty intergration of Laravel & Sentry for sweet reporting of your logs

README 文档

README

use rcrowe\Raven

Better Laravel intergration with async transmittion.

laravel-sentry is unsupported!

laravel-sentry

Tasty integration of Laravel & Sentry for sweet reporting of your logs

Build Status Latest Stable Version

Using the same logging functions will send it Sentry, for example:

Log::error($exception)

will send the exception to Sentry. You can control at which level log messages are reported by changing the level in the config file. The default level is error, this means that Log::info(…) will not be reported to Sentry.

Installation

Add rcrowe\laravel-sentry as a requirement to composer.json:

{
    "require": {
        "rcrowe/laravel-sentry": "0.2.*"
    }
}

Update your packages with composer update or install with composer install.

Once Composer has installed or updated your packages you need to register Sentry with Laravel itself. Open up app/config/app.php and find the providers key towards the bottom and add:

'rcrowe\Sentry\SentryServiceProvider'

Configuration

Sentry configuration file can be extended by creating app/config/packages/rcrowe/laravel-sentry/config.php. You can find the default configuration file at vendor/rcrowe/laravel-sentry/src/config/config.php.

You can quickly publish a configuration file by running the following Artisan command.

$ php artisan config:publish rcrowe/laravel-sentry

Note: Data will only be sent to Sentry if your environment matches the environments defined in the config file.

统计信息

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

GitHub 信息

  • Stars: 15
  • Watchers: 3
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2013-07-15

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固