Download the PHP package springtimesoft/silverstripe-raygun-tags without Composer
On this page you can find all versions of the php package springtimesoft/silverstripe-raygun-tags. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download springtimesoft/silverstripe-raygun-tags
More information about springtimesoft/silverstripe-raygun-tags
Files in springtimesoft/silverstripe-raygun-tags
Package silverstripe-raygun-tags
Short Description Automatically add Silverstripe tags to Raygun error logs
License MIT
Homepage https://github.com/springtimesoft/silverstripe-raygun-tags
Informations about the package silverstripe-raygun-tags
Add useful tags to Silverstripe Raygun logs
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(orenv:dev/env:test)php:8.2.xhost:example.comframework:5.0.xajax:false(true if this is an AJAX request)cli:false(true if being run via the CLI)
The logging level is set to WARNING and above (debug & info is ignored, see configuration).
Requirements
- Silverstripe ^5.0
- A Raygun application and API key (see configuration)
Usage
Simply install the module: composer require springtimesoft/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.
To change the logging level of your application you can overrule the module's defaults by adding a custom yaml file like: