Logger

The Logger class is used to maintain a persistant log file 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().

 

Share this Listing