ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeffrey Bacon <jba...@magmic.com>
Subject identifying current logging level in custom task
Date Wed, 07 Jul 2004 16:00:42 GMT
Is there any way for a custom task to determine what the current logging 
level for the project is at?  For example, when I pass '-verbose' on the 
command line and Ant goes into verbose logging level, can I identify 
that situation and then print out logging info if I am in that level?

no, printing to log(msg, Project.MSG_VERBOSE) doesn't do what I want as 
I want to tell command that I execute from within the task whether to 
output verbose info or not.
-- 
--
Jeffrey Bacon
jbacon@magmic.com
Creative Developer
http://www.magmic.com

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


Mime
View raw message