Login   Register  
PHP Classes
elePHPant
Icontem

Error Logger Class: Log error messages to files

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2010-06-18 (4 years ago) RSS 2.0 feedNot enough user ratingsTotal: 799 All time: 3,956 This week: 1,382Up
Version License PHP version Categories  
error-logger 1BSD License5PHP 5, Files and Folders, Logging
Description Author  

This class can be used to log error messages to files.

It can write error messages of several types to a given log file appending the messages to the file end.

The class may also output the error message to the current page or trigger a PHP error.

Picture of mohammadjafar mashhadi
Name: mohammadjafar mashhadi <contact>
Classes: 2 packages by
Country: Iran Iran
Age: 20
All time rank: 196326 in Iran Iran
Week rank: 1754 Up44 in Iran Iran Down

  Files folder image Files  
File Role Description
Files folder imageSamples (6 files)
Plain text file ErrorLogger.class.php Class The main file

  Files folder image Files  /  Samples  
File Role Description
  Accessible without login Plain text file Errorlogs.err Output Sample - ERR LOGS
  Accessible without login Plain text file sample-trigger-error.php Example Sample - Trigger error like internal php errors
  Accessible without login Plain text file sample-logtoarray.php Example Sample - Array logging
  Accessible without login Plain text file sample-file.php Example Sample - File logging
  Accessible without login Plain text file sample-echo.php Example Sample - Echo mode
  Accessible without login Plain text file sample-invisible-echo.php Example Sample - Hidden echo mode

 Version Control Unique User Downloads Download Rankings  
 0%Total:799All time:3,956
 This week:0This week:1,382Up
 User Comments (1)  
 
this is a good and useful class !
4 years ago (Josť Filipe Lopes Santos)
70%StarStarStarStar