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: 597 All time: 5,176 This week: 202Up
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: 38
All time rank: 216210 in Serbia Serbia
Week rank: 1311 Up7 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  
This week:0
All time:5,176
This week:202Up
For more information send a message to info at phpclasses dot org.