PHP code example of michelmelo / telegram-logger-errors
1. Go to this page and download the library: Download michelmelo/telegram-logger-errors 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/ */
michelmelo / telegram-logger-errors example snippets
'telegram' => [
'driver' => 'custom',
'via' => MichelMelo\Logger\TelegramLogger::class,
'level' => 'debug',
]
'stack' => [
'driver' => 'stack',
'channels' => ['single', 'telegram'],
]
LOG_CHANNEL=telegram
php artisan vendor:publish --provider "MichelMelo\Logger\TelegramLoggerServiceProvider"