I've written a task which uses a custom data type. I'd like to be able to write log messages from within that type using ANT's logging mechanism. If I use that type independently, I'd like to just write to System.out.
Does anyone know of a way to pass ants logger to an external type such that I
could do something like this:
If (logger !=null)
Logger.LogMessage("My message");
Else
System.out.println("My message");
Thanks!
R Loehr
