khalilleo-webagentur / monolog
PHP library for simple Monolog to handle any kinds of logs.
Package info
github.com/khalilleo-webagentur/monolog
Type:package
pkg:composer/khalilleo-webagentur/monolog
v1.0.1
2024-03-15 22:20 UTC
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.