Logging: Log4Pi
Thomas Wehner (contact me)
This class can be used to log application activity to files.
It can append to log files with a given name messages about activity of applications. It creates two distinct files for errors and other types of messages. The files have the same base name, which includes the current data, but have different file name extensions.
The log messages include the current date and time, the class name, line number and the activity message.
Click here for detailed information about this class on phpclasses.org