2017 © Pedro Peláez
 

library phperrorcatcher

Logger all error in file for PHP

image

xakki/phperrorcatcher

Logger all error in file for PHP

  • Sunday, July 8, 2018
  • by Xakki
  • Repository
  • 1 Watchers
  • 0 Stars
  • 16 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 33 % Grown

The README.md

PHPErrorCatcher

Logger all error in file for PHP, (*1)

Example example/test.php, (*2)


  • include_once "src/PHPErrorCatcher.php";, (*3)

  • Xakki\PhpErrorCatcher\PHPErrorCatcher::init([...]);, (*4)


Custom error report, (*5)

  • Xakki\PhpErrorCatcher\PHPErrorCatcher::logException($e); from Exception, (*6)

  • Xakki\PhpErrorCatcher\PHPErrorCatcher::logError('My custom error'); custom error, (*7)

  • trigger_error($message, E_USER_WARNING); simple error trigger, (*8)


Log browser errors * <script src="catcher.js"/> and yoy can catch all errors * errorCatcher('custom errors'), (*9)

The Versions

08/07 2018

dev-master

9999999-dev

Logger all error in file for PHP

  Sources   Download

LGPL-2.1

The Requires

  • php >=5.4.0

 

The Development Requires

by Avatar Xakki