Support class that lets classes log to Ant using the Commons Logging API. This is not intended to be a general solution, rather as a thin separation layer to not have to pass around full-blown Ant
Project
,
Target
or
Task
objects just to enable logging. Note that as there is no log level in Commons-Logging that corresponds to Ant's
VERBOSE level (the level between
INFO and
DEBUG), the
TRACE level of Commons-Logging gets mapped to
VERBOSE, which is probably inappropriate for components that do not know they are using the
AntLog
class.
@author
Christopher Lenz
@version $Id: AntLog.java,v 1.4 2003/06/11 16:18:33 cmlenz Exp $