定制 offline/oc-sentry-plugin 二次开发

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

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

offline/oc-sentry-plugin

最新稳定版本:v3.1.1

Composer 安装命令:

composer require offline/oc-sentry-plugin

包简介

Sentry integration for October CMS

README 文档

README

Sentry integration for October CMS

Setup

Simply add your Sentry DSN to your .env file:

SENTRY_LARAVEL_DSN=https://your@dsn.ingest.sentry.io/12345678

Configuration

To configure this plugin, create a config/sentry.php file and add whatever configuration you need according to the Sentry documentation.

Capture custom messages

Use the following syntax to send custom messages to your Sentry logs.

\Sentry\withScope(function (\Sentry\State\Scope $scope): void {
    $scope->setExtras([
        'custom' => 'value'
    ]);

    \Sentry\captureMessage('Something happened!');
});

Upgrade from 2.x to 3.x

In version 3.0, this plugin was simplified considerably. You can now specify your settings via the config/sentry.php file. The old backend settings page is no longer available.

To upgrade to this new version, you must add your Sentry DSN to your .env file:

SENTRY_LARAVEL_DSN=https://your@dsn.ingest.sentry.io/12345678

统计信息

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

GitHub 信息

  • Stars: 5
  • Watchers: 3
  • Forks: 8
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-12-21