2017 © Pedro Peláez
 

library errorhandling

Errorhandling extension for PSR-3 compatible loggers

image

logger/errorhandling

Errorhandling extension for PSR-3 compatible loggers

  • Thursday, July 26, 2018
  • by logger
  • Repository
  • 1 Watchers
  • 0 Stars
  • 651 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 17 Versions
  • 1 % Grown

The README.md

ErrorHandling

Scrutinizer Code Quality Build Status Latest Stable Version License, (*1)

Errorhandling extension for PSR-3 compatible loggers, (*2)

Why should I care?

CoreErrorHandlers helps you getting every type of problem in your logging-channels., (*3)

How does it work?

CoreErrorHandlers uses most of PHP's capabilities to capture notices, warnings, errors, exceptions and even fatal errors in most situations and redirect them to user-defined PSR-3 compatible logging channels., (*4)

Typically you would end up having something like this:, (*5)

use Logger\CoreErrorHandlers;
// ...
CoreErrorHandlers::enableExceptionsForErrors();
CoreErrorHandlers::registerAssertionHandler($logger, LogLevel::DEBUG);
CoreErrorHandlers::registerExceptionHandler($logger);
CoreErrorHandlers::registerFatalErrorHandler($logger);

This will register trigger-callback-functions for asserts, exceptions and fatal errors. It also registers exception-handlers for every notice, warning and error., (*6)

Note: You need to run the registration-process on every run. Yes, I think you already got it, but just in case: Any problems only get caught if the registration was already made at the time the problem occurs., (*7)

The Versions

26/07 2018

dev-master

9999999-dev

Errorhandling extension for PSR-3 compatible loggers

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ron

26/06 2018

0.1.9.2

0.1.9.2

Errorhandling extension for PSR-3 compatible loggers

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ron

19/05 2016

0.1.9.1

0.1.9.1

Errorhandling extension for PSR-3 compatible loggers

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ron

19/05 2016

0.1.9

0.1.9.0

Errorhandling extension for PSR-3 compatible loggers

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ron

13/10 2015

0.1.8

0.1.8.0

Errorhandling extension for PSR-3 compatible loggers

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ron

13/10 2015

0.1.7

0.1.7.0

Errorhandling extension for PSR-3 compatible loggers

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ron

25/06 2015

0.1.6.3

0.1.6.3

Errorhandling extension for PSR-3 compatible loggers

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ron

20/04 2015

0.1.6.2

0.1.6.2

Errorhandling extension for PSR-3 compatible loggers

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ron

20/04 2015

0.1.6.1

0.1.6.1

Errorhandling extension for PSR-3 compatible loggers

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ron

20/02 2015

0.1.6

0.1.6.0

Errorhandling extension for PSR-3 compatible loggers

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ron

18/02 2015

0.1.5

0.1.5.0

Errorhandling extension for PSR-3 compatible loggers

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ron

16/12 2014

0.1.4

0.1.4.0

Errorhandling extension for PSR-3 compatible loggers

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ron

08/12 2014

0.1.3

0.1.3.0

Errorhandling extension for PSR-3 compatible loggers

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ron

08/12 2014

0.1.2

0.1.2.0

Errorhandling extension for PSR-3 compatible loggers

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ron

06/12 2014

0.1.1

0.1.1.0

Errorhandling extension for PSR-3 compatible loggers

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ron

20/11 2014

0.1.0

0.1.0.0

Errorhandling extension for PSR-3 compatible loggers

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ron

20/11 2014

0.0.1

0.0.1.0

Errorhandling extension for PSR-3 compatible loggers

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ron