axllent / silverstripe-raygun-tags
1.1.0
2023-05-26 03:31 UTC
Requires
- silverstripe/framework: ^5.0
- silverstripe/raygun: ^4.0
This package is auto-updated.
Last update: 2024-07-31 05:17:56 UTC
README
此包已迁移至 springtimesoft/silverstripe-raygun-tags。
这是一个专为添加几个有用标签到错误消息而设计的扩展,这些消息通过 silverstripe/silverstripe-raygun 扩展发布到 Raygun。
以下标签被添加
env:live
(或env:dev
/env:test
)php:8.2.x
host:example.com
framework:5.0.x
ajax:false
(如果是 AJAX 请求则为 true)cli:false
(如果是通过 CLI 运行则为 true)
要求
- Silverstripe ^5.0
- Raygun 应用和 API 密钥(见 配置)
用法
只需安装模块: composer require axllent/silverstripe-raygun-tags
配置
将环境变量 SS_RAYGUN_APP_KEY="xxxxxxxxx"
添加到您的 .env
文件。
有关自定义 Raygun 扩展的更多信息,请参阅原始的 silverstripe/silverstripe-raygun README。
安装
composer require axllent/silverstripe-raygun-tags