|
@@ -66,6 +66,8 @@ class RavenHandler extends AbstractProcessingHandler
|
|
|
*/
|
|
*/
|
|
|
public function __construct(Raven_Client $ravenClient, $level = Logger::DEBUG, bool $bubble = true)
|
|
public function __construct(Raven_Client $ravenClient, $level = Logger::DEBUG, bool $bubble = true)
|
|
|
{
|
|
{
|
|
|
|
|
+ @trigger_error('The Monolog\Handler\RavenHandler class is deprecated. You should rather upgrade to the sentry/sentry 2.x and use Sentry\Monolog\Handler, see https://github.com/getsentry/sentry-php/blob/master/src/Monolog/Handler.php', E_USER_DEPRECATED);
|
|
|
|
|
+
|
|
|
parent::__construct($level, $bubble);
|
|
parent::__construct($level, $bubble);
|
|
|
|
|
|
|
|
$this->ravenClient = $ravenClient;
|
|
$this->ravenClient = $ravenClient;
|