anboz/custom-logger

Custom logger

Installs: 110

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:package

pkg:composer/anboz/custom-logger

dev-master 2023-10-04 08:16 UTC

This package is not auto-updated.

Last update: 2025-10-08 15:01:19 UTC


README

installing

composer require anboz/custom-logger

Use

add channel to 
config/logging.php
[
    'channels' => [ 
        //... 
        'custom-log' => [
            'driver' => 'custom',
            'via' => \Anboz\CustomLogger\Logging\LoggerFactory::class,
            'logger_name' => 'logs',
            'level' => 'debug',
            'ignore_exceptions' => false,
        ],       
        //...
    ]
]

\Log::alert('first alert test from anboz logging');
//result

img.png

_

img_1.png