Download the PHP package boerl/zf1-log-psr3 without Composer
On this page you can find all versions of the php package boerl/zf1-log-psr3. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package zf1-log-psr3
PSR-3 compliant wrapper for Zend Framework 1's Logger
Did you ever want to use your good old (fashioned) ZF1 logger in a modern loosely coupled library that expects a PSR-3 compliant logger? Then this is the library for you. You can keep your existing logger (e.g. to share with other components of your software) and disguise it to feed it to the new library.
Features
- PSR-3 style placeholders are rewritten to ZF1 style.
E.g.
{example}becomes%example%. (Can be disabled.) logLevelis added to theextrascq context array. (Can be disabled.)- (Not directly related to the goal of this library, but useable for testing:) A very basic implementation of
Zend_Log_Writer_Abstractis available:MemoryWriter. It keeps the formatted logged messages in memory, to be retrieved later.
Usage
Require this package with composer and use its autoloader.
For available configuration options, look at Wrapper::getDefaultConfig().
Links
- michaelmoussa/zend-psr-log
Similar concept, but for ZF2's Logger. - InterNations/ZendLogAdapterPsr3
Similar concept, but reversed.
All versions of zf1-log-psr3 with dependencies
PHP Build Version
Package Version
The package boerl/zf1-log-psr3 contains the following files
Loading the files please wait ...