anboz / custom-logger
Custom logger
Installs: 92
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:package
Requires
- php: ^8.1
This package is not auto-updated.
Last update: 2024-11-06 10:25:30 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
_