This package is abandoned and no longer maintained. The author suggests using the sentry/sentry package instead.

PSR Logger for Sentry

2.0.1 2017-06-30 12:54 UTC

This package is auto-updated.

Last update: 2019-09-02 16:52:49 UTC


Build Status Code Coverage Scrutinizer Code Quality

This module provide a PSR 3 log implementation for Sentry


The only supported way to install this module is trough composer. For composer documentation you can refer to getcomposer.org.

composer require facile-it/sentry-psr-log


$ravenClient = new Raven_Client('dsn', []);

$logger = new Facile\Sentry\Log\Logger($ravenClient);

// Logging message
$logger->error('message', ['foo' => 'bar']);

// Logging exception
$exception = new \RuntimeException('foo');
$logger->error($exception, ['foo' => 'bar']);