> David Sean Taylor wrote:
> 
> >>Use Log.getLogger().isDebugEnabled() for the default logger.  
> >>
> > 
> > I propose that we use this convention for all logging.


+1


I was going to argue that the performance gain on a simple string log
would be minimal - versus the ease of reading the code - until I
tried it...

There was no performance gain - and when you do any calculations in
the logging message, it gets really slow - 100 times slower!

So - go for it...

Chris

=====
------------------------------------------
http://www.soccer2002.org.uk

__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to