PHP Classes / Logger class to write all at once

Log activity to files buffering the messages

Logger class to write all at once PHP Class

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.

Similar PHP Classes

Search in PHP Classes

Filter by tags