Skip to content
This repository has been archived by the owner on Jul 31, 2024. It is now read-only.

Add Silverstripe tags to Raygun logging

License

Notifications You must be signed in to change notification settings

axllent/silverstripe-raygun-tags

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Add useful tags to Silverstripe Raygun logs

This package has been moved to springtimesoft/silverstripe-raygun-tags.

This is a purpose-built extension that adds several useful tags to error messages that are published to Raygun via the silverstripe/silverstripe-raygun extension.

The following tags are added:

  • env:live (or env:dev / env:test)
  • php:8.2.x
  • host:example.com
  • framework:5.0.x
  • ajax:false (true if this is an AJAX request)
  • cli:false (true if being run via the CLI)

Requirements

  • Silverstripe ^5.0
  • A Raygun application and API key (see configuration)

Usage

Simply install the module: composer require axllent/silverstripe-raygun-tags

Configuration

Add the SS_RAYGUN_APP_KEY="xxxxxxxxx" environment variable to your .env file.

Please refer to the original silverstripe/silverstripe-raygun README for further information on customising the Raygun extension.

Installation

composer require axllent/silverstripe-raygun-tags

About

Add Silverstripe tags to Raygun logging

Topics

Resources

License

Stars

Watchers

Forks

Languages