ajaxy / logger
Ajaxy Logger
Installs: 58
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:ajaxy
Requires
- php: >=5.4.0
This package is auto-updated.
Last update: 2024-04-23 18:53:53 UTC
README
Ajaxy - PSR-3 Dynamic Logging for PHP
This library implements the PSR-3
Installation
Install the latest version with
$ composer require ajaxy/logger
Basic Usage
<?php use Ajaxy\Logger\Logger; use Ajaxy\Logger\Handler\Stream; // create a log channel $log = new Logger(); $log->pushHandler(new Stream('path/to/dir/', Logger::WARNING)); // dynamic logging $log->debug('Foo'); $log->error('Bar'); // this will save the logging to anything.log $log->{anything}('Bar');
About
Requirements
- Ajaxy\Logger works with PHP 5.6 or above.
Submitting bugs and feature requests
Bugs and feature request are tracked on GitHub
Author
Naji Amer - icu090@gmail.com - http://ajaxy.org
License
Ajaxy\Logger is licensed under the MIT License - see the LICENSE
file for details