Login   Register  
PHP Classes
elePHPant
Icontem

Error Logging

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Nitesh Apte
Name: Nitesh Apte is available for providing paid consulting. Contact Nitesh Apte .
Packages: 11 Browse all classes by Nitesh Apte Browse all classes by
Country: India India - PHP jobs in India
Age: 29
All time rank: 28916 in India India
Week rank: 45 Up6 in India India Up
Innovation award
Innovation award
Nominee: 2x

Winner: 1x


  Detailed description   Download .zip .tar.gz  
This class can be used to handle PHP fatal and non-fatal execution errors.

It registers an error handler that is capable of a backtrace with the list of functions and arguments used to call the code that causes an error, send that information to the current page output or the PHP error log, or send an e-mail message to the administrator.

The class can also trap fatal errors using a special PHP script shutdown callback function.

  Classes of Nitesh Apte  >  Error Logging  >  Download .zip .tar.gz  >  Support forum Support forum (5)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Error Logging
Base name: error-logging
Description: Handle PHP fatal and non-fatal execution errors
Version: 1.0
PHP version: 5.2
License: GNU General Public License (GPL)
All time users: 1271 users
All time rank: 2640
Week users: 0 users
Week rank: 1988 Equal
 
  Groups   Rate classes User ratings   Applications   Related links   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Debug Debug data dumping, bug detection and reporting View top rated classes


  Innovation Award  
PHP Programming Innovation award winner
October 2010
Winner

Prize: One copy of the Zend Studio
PHP can easily trap and log runtime errors. However, PHP error handlers cannot trap fatal errors.

This class provides a work around for that limitation. It registers a PHP shutdown callback function that can detect if the current script is terminating due to a fatal error.

Manuel Lemos

  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Not sure (58.3%)
Sufficient (79.2%)
-
Insufficient (29.2%)
-
-
Insufficient (40.0%)
2037
Month:
Not yet rated by the users

  Applications that use this class  
Link Description
The Bookmarker - Your Personal Bookmarker Online Bookmarking
THE movieDB 3.0 : : Personal Collection - Extended Personal Movie Database Management System
Add link image If you know an application of this package, send a message to the author to add a link here.

  Related links  
Link Description
The Bookmarker - Your Personal Bookmarker Online Bookmarking

  Files folder image Files  
File Role Description
Plain text file class.ErrorLogging.php Class Error Logging Class
Accessible without login Plain text file conf.inc Conf. defined values
Accessible without login Plain text file example.php Example usage
Accessible without login Plain text file LICENSE.TXT Lic. License File

Download all files: error-logging.tar.gz error-logging.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.