org.znerd.util.log
Class AntLimb
java.lang.Object
org.znerd.util.log.Limb
org.znerd.util.log.AntLimb
public class AntLimb
- extends Limb
Limb implementation that sends output via the Ant logging mechanism.
Levels are mapped as follows:
LogLevel.DEBUG
is mapped to the Ant Project.MSG_DEBUG
level.
LogLevel.INFO
is mapped to the Ant Project.MSG_VERBOSE
level.
LogLevel.NOTICE
is mapped to the Ant Project.MSG_INFO
level.
LogLevel.WARNING
is mapped to the Ant Project.MSG_WARN
level.
LogLevel.ERROR
and LogLevel.FATAL
are mapped to the Ant Project.MSG_ERR
level.
Constructor Summary |
AntLimb(org.apache.tools.ant.Task task)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AntLimb
public AntLimb(org.apache.tools.ant.Task task)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
logImpl
protected void logImpl(LogLevel level,
String message,
Throwable exception)
- Overrides:
logImpl
in class Limb
Copyright © 2011-2012. All Rights Reserved.