PHP Classes

Debug_Logging: Output debug information to the page or a log file

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 668 All time: 4,827 This week: 129Up
Version License PHP version Categories
debug_logging 0.6GNU General Publi...5.0PHP 5, Debug, Logging


This class can be used to output debug information to the page or a log file.

It can output several types of event activity and show the current date and time, the user session, the calling function and line, as well a custom message.

The debug output can be displayed in the current page, or outputted to a file .

The size of the log files may be limited. When a log file exceeds the limit, the class can rotate the logs by renaming the current log file and creating a new one.

Picture of Gerhard
Name: Gerhard <contact>
Classes: 1 package by
Country: Austria Austria
Age: ???
All time rank: 289421 in Austria Austria
Week rank: 367 Up1 in Austria Austria Up

  Files folder image Files  
File Role Description
Files folder imagelog (1 file)
Files folder imagetest (1 file)
Files folder imageclasses (1 file)

  Files folder image Files  /  log  
File Role Description
  Accessible without login Plain text file 10_test_debug_logging.class.php.0000.log Data Example part of the test script log file

  Files folder image Files  /  test  
File Role Description
  Accessible without login Plain text file 01_test_debug_loggind.class.php Test The test file for the debug_logging class.

  Files folder image Files  /  classes  
File Role Description
  Plain text file debug_logging.class.php Class The Debug_Logging class

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:4,827
This week:129Up
User Comments (1)
easy to implement, works real fine.
14 years ago (Alex)