Le 14/03/2012 11:01, Jacopo Cappellato a écrit :
On Mar 14, 2012, at 10:50 AM, Erwan de FERRIERES wrote:
Hi,
shouldn't we be checking for infoOn before each logInfo ?
This would be nice for performance reasons only, but yes.
And Debug.log should be then marked as deprecated ?
There are 8 methods like it that could be confusing because they imply that
"log(message)" means "always log message": I don't know if they are worth of
deprecation... maybe yes; I will defer on you and others to decide on this topic :-)
As a very side note... I don't like the class name "Debug" because it is not exactly its
purpose... "Logger" (that is also the official name for Log4J) would be much better.
Jacopo
Yep, logger is a better name. A bit of work to do, if we agree on this one !
--
Erwan de FERRIERES
www.nereide.biz