Download the PHP package merophp/log-manager without Composer
On this page you can find all versions of the php package merophp/log-manager. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download merophp/log-manager
More information about merophp/log-manager
Files in merophp/log-manager
Download merophp/log-manager
More information about merophp/log-manager
Files in merophp/log-manager
Vendor merophp
Package log-manager
Short Description Logger manager for the Merophp Framework
License MIT
Package log-manager
Short Description Logger manager for the Merophp Framework
License MIT
Please rate this library. Is it a good library?
Informations about the package log-manager
Introduction
Logger Manager for the Merophp Framework. The manager holds PSR-3-based named loggers, so you can easily connect logging libraries or custom loggers to the framework.
Installation
Via composer:
composer require merophp/log-manager
Basic Usage
use Merophp\LogManager\LogManager;
use Merophp\LogManager\namedLogger\AbstractNamedLogger;
require_once dirname(__DIR__).'/vendor/autoload.php';
class MyLogger extends AbstractNamedLogger
{
public function __construct(string $name)
{
$this->name = $name;
}
}
$logManager = new LogManager;
$logManager->addLogger(new MyLogger('security');
$logManager->warning('security', 'My message');
$logManager->getLogger('security')->warning('My message');
All versions of log-manager with dependencies
PHP Build Version
Package Version
The package merophp/log-manager contains the following files
Loading the files please wait ....