Login   Register  
PHP Classes
elePHPant
Icontem

Log-class: Log activity messages to files

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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 (2 years ago) RSS 2.0 feedNot enough user ratingsTotal: 582 All time: 4,801 This week: 1,467Up
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: 30
All time rank: 207310 in Serbia Serbia
Week rank: 1102 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  
 0%Total:582All time:4,801
 This week:0This week:1,467Up