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. |