PHP code example of timetorock / laravel-monolog-sentry
1. Go to this page and download the library: Download timetorock/laravel-monolog-sentry library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
timetorock / laravel-monolog-sentry example snippets
'providers' => array(
...
Timetorock\LaravelMonologSentry\Providers\MonologSentryServiceProvider::class,
),
'dsn' => 'https://***:***@sentry.yourdomain.com/{project}'
DEBUG = 100;
INFO = 200;
NOTICE = 250;
WARNING = 300;
ERROR = 400;
CRITICAL = 500;
ALERT = 550;
EMERGENCY = 600;