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
  Classes of Nitesh Apte  >  Error Logging  >  Download .tar.gz .zip  >  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
Related classes: , , ,
Version: 1.0
PHP version: 5.2
License: GNU General Public License (GPL)
All time users: 1198 users
All time rank: 2630
Week users: 0 users
Week rank: 2370
 

  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: 28
All time rank: 33120 in India India
Week rank: 68 Up7 in India India Up
Innovation award
Innovation award
Nominee: 2x

Winner: 1x


  Detailed description  
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.

  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%)
1980
Month:
There are not enough user ratings to display for this class.

  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
Plain text file conf.inc Conf. defined values
Plain text file example.php Example usage
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.