|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tools.ant.util.TaskLogger
public final class TaskLogger
A facade that makes logging nicer to use.
Constructor Summary | |
---|---|
TaskLogger(Task task)
Constructor for the TaskLogger |
Method Summary | |
---|---|
void |
debug(java.lang.String message)
Log a message with MSG_DEBUG priority |
void |
error(java.lang.String message)
Log a message with MSG_ERR priority |
void |
info(java.lang.String message)
Log a message with MSG_INFO priority |
void |
verbose(java.lang.String message)
Log a message with MSG_VERBOSE priority |
void |
warning(java.lang.String message)
Log a message with MSG_WARN priority |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TaskLogger(Task task)
task
- the taskMethod Detail |
---|
public void info(java.lang.String message)
MSG_INFO
priority
message
- the message to logpublic void error(java.lang.String message)
MSG_ERR
priority
message
- the message to logpublic void warning(java.lang.String message)
MSG_WARN
priority
message
- the message to logpublic void verbose(java.lang.String message)
MSG_VERBOSE
priority
message
- the message to logpublic void debug(java.lang.String message)
MSG_DEBUG
priority
message
- the message to log
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |