On Mon, 25 Sep 2006, Scott Stirling <[EMAIL PROTECTED]> wrote:
> What's wrong with a guard statement that doesn't construct the log
> message unless the log level at which the message is used is
> enabled?
> 
> i.e.:
> 
> if (LOG.isDebugEnabled()) {

Nobody, except for the BuildListener knows whether a message is going
to be logged or not, so implementing the isDebugEnabled() method is a
bit problematic.

Stefan

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

Reply via email to