class.Logger.php3

class.Logger.php3 is used to maintain persistant log files in PHP3 applications as efficiently as possible.
Download

class.Logger.php3 Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • CDI
  • Publisher web site:
  • http://www.thewebmasters.net/php/

class.Logger.php3 Tags


class.Logger.php3 Description

class.Logger.php3 is used to maintain persistant log files in PHP3 applications as efficiently as possible. class.Logger.php3 is used to maintain persistant log files in PHP3 applications as efficiently as possible.Using Logger, your programs can append log entries to as many different files as you need, using only 1 fopen() call and 1 fclose() call per log file.Logger's primary use is for debugging personal programs when you can't or don't want to log via error_log().SYNOPSIS include("class.Logger.php3"); $logger = new Logger("/path/to/log/file/root_directory"); $logger->initialize( array( ERRLOG => 'error_log', DEBUGLOG => 'debug_log' ) ); $logger->log(ERRLOG,"This is an error_log entry"); $logger->log(DEBUGLOG,"This is logged to the debug_log"); $logger->close_logs(); exit


class.Logger.php3 Related Software