norbis/laravel-advanced-log

Extended Laravel LogManager with additional drivers

1.0.0 2021-03-02 23:31 UTC

This package is auto-updated.

Last update: 2024-04-09 17:35:41 UTC


README

Extended LogManager with additional Monolog drivers

Installation

composer require norbis/laravel-advanced-log

Telegram channel

Define Telegram Bot Token and chat id (users telegram id) and set as environment parameters. Add to .env

TELEGRAM_BOT_APIKEY=id:token
TELEGRAM_BOT_CHAT_ID=chat_id
'telegram' => [
    'driver' => 'telegram',
    'apiKey' => env('TELEGRAM_BOT_APIKEY'),
    'channel' => env('TELEGRAM_BOT_CHAT_ID'),
    //default debug
    'level'  => 'debug',
    //default true
    'bubble' => true,
    //default HTML
    'parseMode' => 'HTML',
    //default false
    'disableWebPagePreview' => false,
    //default false
    'disableNotification' => false,
],