PHP Classes
elePHPant
Icontem

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    
Last Updated Ratings Unique User Downloads Download Rankings
2012-06-26 (4 years ago) RSS 2.0 feedNot enough user ratingsTotal: 592 All time: 4,990 This week: 1,095Up
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

  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:592
This week:0
All time:4,990
This week:1,095Up