/sentry_client

TYPO3 Extension for exception logging with sentry, see http://www.getsentry.com

Primary LanguagePHP

Sentry Client for TYPO3

Exception logging with sentry, see http://www.getsentry.com

The extension is a wrapper for https://github.com/getsentry/sentry-php

Installation

$ composer require networkteam/sentry-client

After installation via composer the configuration setup has to be run.

$ vendor/bin/typo3cms extension:setup sentry_client

It's also available in TER: http://typo3.org/extensions/repository/view/sentry_client

Configuration

Set the dsn (http://public_key:secret_key@your-sentry-server.com/project-id) in the Extension Manager and you are done.

Development

You can use $GLOBALS['USER']['sentryClient'] which is an instance of \Raven_Client to add your own tags or log messages.

Example: Add a custom tag

$GLOBALS['USER']['sentryClient']->tags_context(['release' => '201802072115']);

Support / Improvements / Issues

This extension is managed on GitHub. Feel free to get in touch at https://github.com/networkteam/sentry_client