axllent/silverstripe-raygun-tags

此包已被弃用且不再维护。作者建议使用 springtimesoft/silverstripe-raygun-tags 包。

自动将 Silverstripe 标签添加到 Raygun 错误日志

安装: 358

依赖: 0

建议者: 0

安全性: 0

星标: 1

关注者: 2

分支: 0

开放问题: 0

类型:silverstripe-vendormodule

1.1.0 2023-05-26 03:31 UTC

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