PHP Class for a powerful log system