Logger class to write all at once

Package:
Logger class to write all at once
Summary:
Log activity to files buffering the messages
Groups:
Files and Folders, Logging, PHP 5
Author:
Sudhir Chauhan
Description:
This class can be used to log activity to files buffering the messages.

It can log one or more activity messages to a log file.

The messages are first stored in class private array variable that works as a buffer.

When the object is destroyed, eventually at the end of the script, the messages are flushed to the log file all at once.


Powered by Gewgley