lalo

Installation

Install the package

composer require aagjalpankaj/lalo

Publish the config

php artisan vendor:publish --provider="Aagjalpankaj\Lalo\ServiceProvider"

Configure logging channel

Add tap option to any monolog logging channel in logging.php as below:

'single' => [
    'driver' => 'single',
    'tap' => [Aagjalpankaj\Lalo\Logger::class],
    // other existing configuration...
],

Use the logging channel in .env:

LOG_CHANNEL=single