public class AntLogSystem extends AntLogChute implements org.apache.velocity.runtime.log.LogSystem
task| Constructor and Description |
|---|
AntLogSystem(org.apache.tools.ant.Task task)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
logVelocityMessage(int level,
java.lang.String message)
Deprecated.
use AntLogChute
|
init, isLevelEnabled, log, logpublic void logVelocityMessage(int level,
java.lang.String message)
Log Velocity messages through the Ant Task log method. The mapping of logging levels from Velocity to Ant is as follows:
Velocity Level --> Ant Level LogSystem.DEBUG_ID --> Project.MSG_DEBUG LogSystem.INFO_ID --> Project.MSG_VERBOSE LogSystem.WARN_ID --> Project.MSG_WARN LogSystem.ERROR_ID --> Project.MSG_ERR
logVelocityMessage in interface org.apache.velocity.runtime.log.LogSystemlogVelocityMessage in class AntLogChutelevel - severity levelmessage - complete error messageLogSystem,
Task.log(String, int)Copyright (c) 2001-2007 Apache Software Foundation