ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject RE: AW: Adding a methof to StringUtils
Date Wed, 19 Apr 2006 19:23:26 GMT
--- "Burgess, Benjamin" <BBurgess@tiaa-cref.org>
wrote:

> A good description of this comes from the JavaDocs
> for Log4j here:
> 
>
http://logging.apache.org/log4j/docs/api/org/apache/log4j/Category.html#
> isDebugEnabled()
> 
> So actually, you would only wrap the debug log
> statement in an
> if(log.isDebug()) if the message itself is more than
> a simple String
> (ie. Contains concatenation or creates an object).
> 

It might be useful to remember this... the main
problem in Ant, though, is that a Project doesn't
currently know at what level it is being logged.  Only
its listeners know that.

-Matt

> Ben
[SNIP]

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message