PHP Classes

PHP Error Class: Log error messages to files

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 558 All time: 5,463 This week: 571Up
Version License PHP version Categories
error-log 1.0GNU General Publi...5Logging
Description 

Author

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: 46
All time rank: 122810 in Denmark Denmark
Week rank: 180 Up2 in Denmark Denmark Up
Innovation award
Innovation award
Nominee: 1x

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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:558
This week:0
All time:5,463
This week:571Up
User Comments (1)
There are a good class ;-) I usualy to see error logs, in th...
11 years ago (José Filipe Lopes Santos)
60%StarStarStarStar