PHP Classes

PHP Error Class: Log error messages to files

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 557 This week: 1All time: 5,459 This week: 111Up
Version License PHP version Categories
error-log 1.0GNU General Publi...5Logging


This class can log error messages to files.

It can append a given error message to a log file.

The error message is prefixed with the current date and time.

The class also sets the log file directory permissions to make sure it is writable.

Picture of Frederik Yssing
  Performance   Level  
Name: Frederik Yssing <contact>
Classes: 4 packages by
Country: Denmark Denmark
Age: 45
All time rank: 122810 in Denmark Denmark
Week rank: 57 Up1 in Denmark Denmark Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Plain text file error.class.php Class base class and example

 Version Control Unique User Downloads Download Rankings  
This week:1
All time:5,459
This week:111Up
User Comments (1)
There are a good class ;-) I usualy to see error logs, in th...
10 years ago (Josť Filipe Lopes Santos)