2017 © Pedro Peláez
 

library errorlog-handler

PSR7/PSR3 Exception logging middleware

image

vperyod/errorlog-handler

PSR7/PSR3 Exception logging middleware

  • Friday, July 29, 2016
  • by jnj
  • Repository
  • 1 Watchers
  • 2 Stars
  • 36 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

vperyod.errorlog-handler

Log exceptions to Psr\Log, (*1)

![Latest version][ico-version] Build Status ![Coverage Status][ico-scrutinizer] Quality Score, (*2)

Installation

composer require vperyod/errorlog-handler

Usage

See Psr\Log documentation., (*3)

// Create handler with a Logger instance
$handler = new Vperyod\ErrorlogHandler\ErrorlogHandler($logger);

// Optionally set the level to log (default:alert)
$handler->setLogLevel(LogLevel::ERROR);

// Optionally disable rethrowing if there are no other handlers for errors
$handler->setReThrow(false);

// Add to your middleware stack, radar, relay, etc.
$stack->middleware($handler);

The Versions

29/07 2016

dev-develop

dev-develop https://github.com/vperyod/vperyod.errorlog-handler

PSR7/PSR3 Exception logging middleware

  Sources   Download

MIT

The Requires

 

The Development Requires

by jake johns

20/06 2016

dev-master

9999999-dev https://github.com/vperyod/vperyod.errorlog-handler

PSR7/PSR3 Exception logging middleware

  Sources   Download

MIT

The Requires

 

The Development Requires

by jake johns

20/06 2016

0.1.0

0.1.0.0 https://github.com/vperyod/vperyod.errorlog-handler

PSR7/PSR3 Exception logging middleware

  Sources   Download

MIT

The Requires

 

The Development Requires

by jake johns