PHP Classes

Log-class: Log activity messages to files

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 600 This week: 1All time: 5,188 This week: 560Up
Version License PHP version Categories
logclass 1.0BSD License5PHP 5, Logging
Description 

Author

This class can log activity messages to files.

It takes a message string about an activity to log and writes it to a given log file.

The log file name is determined by a combination of the current date, a given prefix and a file name extension.

The directory where the log files will be stored is configurable.

The format of the log messages stored in the file include the current date and time and a log message identifier.

Picture of Ivan Stojmenovic
Name: Ivan Stojmenovic <contact>
Classes: 2 packages by
Country: Serbia Serbia
Age: 39
All time rank: 21649 in Serbia Serbia
Week rank: 411 Up5 in Serbia Serbia Up

  Files folder image Files  
File Role Description
Files folder imagelogs (1 file)
Accessible without login Plain text file example.php Example Example how to use
Plain text file log.class.php Class Core logging class

  Files folder image Files  /  logs  
File Role Description
  Accessible without login Plain text file log_2012-06-26 Data log file

 Version Control Unique User Downloads Download Rankings  
 0%
Total:600
This week:1
All time:5,188
This week:560Up