khalilleo-webagentur / monolog
PHP library for simple Monolog to handle any kinds of logs.
Installs: 25
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:package
Requires
- php: ^8.1
README
PHP library for simple Monolog to handle any kinds of logs.
Requirements
- PHP
^8.1
Installation
composer require khalilleo-webagentur/monolog
Usage
// create this service as entry point <?php declare(strict_types=1); namespace App\Service\Core; use Khalilleo\Monolog\LoggerAbstruct; final class MonologService extends LoggerAbstruct { // }
// call your service use App\Service\MonologService; public function __construct(private readonly MonologService $monolog) {} // use monolog $this->monolog->logger->info('any message ..'); $this->monolog->logger->debug('any message ..'); . .
Copyright
This project is licensed under the MIT License.