soluble/explog

This package is abandoned and no longer maintained. No replacement package was suggested.

Expressive logger component

dev-master / 1.0.x-dev 2017-06-02 10:20 UTC

This package is auto-updated.

Last update: 2022-02-01 13:07:32 UTC


README

PHP Version Build Status codecov Scrutinizer Code Quality Latest Stable Version Total Downloads License

Experimental zend-expressive 2.0 out-of-the-box and (still or forever) opinionated logger with monolog.

Motivations

  • Provide ready to use, minimal logging facilities for zend-expressive 2.0 projects (ErrorHandler).

Status

Early-days experiment based off this issue

  • Separate component from zend-expressive-skeleton.
  • Define a ConfigProvider, added to composer.json.
  • Auto-registration of a delegator on the stratigility ErrorHandler. Supported by all DI.
  • Log listener compose a service with a discrete name that should resolve to a PSR-3 logger (this will allow having multiple loggers in your system)
  • It should use Psr\Log\NullLogger by default.
  • Configuration: exclude 404,...

Later on,

  • Unit tests, coverage 100%
  • Documentation

Documentation

Install

$ composer require soluble-explog