2017 © Pedro PelĂĄez
 

library yii2-sentry-log-target

Minimal implementation of Yii2 log target sending messages to Sentry.

image

rekurzia/yii2-sentry-log-target

Minimal implementation of Yii2 log target sending messages to Sentry.

  • Tuesday, December 27, 2016
  • by ujovlado
  • Repository
  • 0 Watchers
  • 2 Stars
  • 45 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Yii2 Sentry log target

Build Status Latest Stable Version License, (*1)

Yii2 log target which sends log messages to your Sentry instance., (*2)

Installation

Using Composer:, (*3)

composer require rekurzia/yii2-sentry-log-target

Usage

Add Sentry target to your configuration, (*4)

$config['components']['log']['targets'] = [
    [
        'class' => Rekurzia\Log\SentryTarget::class,
        'levels' => ['error', 'warning'],
        'dsn' => 'https://abcdefgh:12345678@sentry.example.com/1',
        'includeContextMessage' => true,
        'options' => [
            'message_limit' => 2048,
        ],
    ],
];

Configuration

dsn

Raven-compatible DSN., (*5)

options

These options will be passed to Raven_Client constructor, (*6)

includeContextMessage

This option allows you to hide info level context message., (*7)

By default Yii generates also context message for you. It means that there will be two messages logged to your Sentry instance on error. First with error level, second with info level., (*8)

License

MIT. See LICENSE file., (*9)

The Versions

27/12 2016

dev-master

9999999-dev https://github.com/rekurzia/yii2-sentry-log-target

Minimal implementation of Yii2 log target sending messages to Sentry.

  Sources   Download

MIT

The Requires

 

The Development Requires

by VladimĂ­r KriĆĄka

log yii2 sentry target

27/12 2016

v2.0.0

2.0.0.0 https://github.com/rekurzia/yii2-sentry-log-target

Minimal implementation of Yii2 log target sending messages to Sentry.

  Sources   Download

MIT

The Requires

 

The Development Requires

by VladimĂ­r KriĆĄka

log yii2 sentry target

05/01 2016

v1.0.0

1.0.0.0 https://github.com/rekurzia/yii2-sentry-log-target

Minimal implementation of Yii2 Sentry log target.

  Sources   Download

MIT

The Requires

 

by VladimĂ­r KriĆĄka

log yii2 sentry target

04/01 2016

v0.9.0

0.9.0.0 https://github.com/rekurzia/yii2-sentry-log-target

Minimal implementation of Yii2 Sentry log target.

  Sources   Download

MIT

The Requires

 

by VladimĂ­r KriĆĄka

log yii2 sentry target