PHP Classes

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

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 669 All time: 4,832 This week: 455Up
Version License PHP version Categories
debug_logging 0.6GNU General Publi...5.0PHP 5, Debug, Logging
Description 

Author

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: 290221 in Austria Austria
Week rank: 195 Up1 in Austria Austria Up

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

  Files folder image Files (3)  /  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 (3)  /  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 (3)  /  classes  
File Role Description
  Plain text file debug_logging.class.php Class The Debug_Logging class

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:669
This week:0
All time:4,832
This week:455Up
User Comments (1)
easy to implement, works real fine.
15 years ago (Alex)
70%StarStarStarStar