PHPackages                             robuust/craft-sentry-log-target - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Logging &amp; Monitoring](/categories/logging)
4. /
5. robuust/craft-sentry-log-target

Abandoned → [diginov/craft-sentry-logger](/?search=diginov%2Fcraft-sentry-logger)ArchivedCraft-plugin[Logging &amp; Monitoring](/categories/logging)

robuust/craft-sentry-log-target
===============================

Sentry Log Target for Craft 3

1.1.1(5y ago)127.0k1MITPHPPHP ^7.0 || ^8.0

Since May 4Pushed 5y agoCompare

[ Source](https://github.com/robuust/craft-sentry-log-target)[ Packagist](https://packagist.org/packages/robuust/craft-sentry-log-target)[ RSS](/packages/robuust-craft-sentry-log-target/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (3)Versions (7)Used By (0)

Sentry Log Target plugin for Craft
==================================

[](#sentry-log-target-plugin-for-craft)

Catches exceptions natively with Yii2's log component and sends them to [Sentry](https://getsentry.com/).

Uses Sentry PHP SDK v2 via [olegtsvetkov/yii2-sentry](https://github.com/olegtsvetkov/yii2-sentry).

Requirements
------------

[](#requirements)

This plugin requires Craft CMS 3.1.0 or later.

Installation
------------

[](#installation)

To install the plugin, follow these instructions.

1. Open your terminal and go to your Craft project:

    ```
     cd /path/to/project

    ```
2. Then tell Composer to load the plugin:

    ```
     composer require robuust/craft-sentry-log-target

    ```
3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Sentry Log Target.

Configuration
-------------

[](#configuration)

Create a `config/sentry-log-target.php` config file with the following contents:

```
