PHP Classes
elePHPant
Icontem

This class mixes up storing log messages in a database and vi...

Recommend this page to a friend!

      Easy Logging  >  All threads  >  This class mixes up storing log...  >  (Un) Subscribe thread alerts  
Subject:This class mixes up storing log...
Summary:Package rating comment
Messages:2
Author:Eelko de Groot
Date:2008-05-27 07:11:55
Update:2008-05-27 12:38:13
 

 

Eelko de Groot rated this package as follows:

Utility: Bad
Consistency: Insufficient
Documentation: Sufficient
Examples: Insufficient

  1. This class mixes up storing log...   Reply   Report abuse  
Eelko de Groot - 2008-05-27 07:11:55
This class mixes up storing log messages in a database and viewing it on a html page. Better to seperate those tasks. One object to store a logmessage, which should be an object as well, and another object to view the log content.

  2. Re: This class mixes up storing log...   Reply   Report abuse  
Alejandro U. Alvarez - 2008-05-27 12:38:13 - In reply to message 1 from Eelko de Groot
Well, separating them into to objects would be quite useful for some users who might want to store the logs in a text file instead of a db, but the purpose of this class is to provide very simple logging for users thet in most cases won't be professionals, and for the ones that are professionals the class provides enough methods to customize the output to match everyone's needs.

Thanks for posting,
Alex