Logging class (Log messages to a file)

/ Published in: PHP
Save to your folder(s)

This class can log messages to a file. If the log file becomes too large (over 1MB), the class will archive it and will create new. If there are archives older than one month, they will be deleted automatically.
In the future versions I will add the opportunity to set max log size and max time to keep the archives.

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.