|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sourceforge.chaperon.ant.AntLog
The Ant wrapper class for Logger.
| Constructor Summary | |
AntLog(org.apache.tools.ant.Project project)
Create a logger that delegates to specified logger. |
|
AntLog(org.apache.tools.ant.Project project,
int antMsgLevel)
Create a logger that delegates to specified logger. |
|
| Method Summary | |
void |
debug(java.lang.Object message)
Log a message with debug log level. |
void |
debug(java.lang.Object message,
java.lang.Throwable t)
Log an error with debug log level. |
void |
error(java.lang.Object message)
Log a message with error log level. |
void |
error(java.lang.Object message,
java.lang.Throwable t)
Log an error with error log level. |
void |
fatal(java.lang.Object message)
Log a message with fatal log level. |
void |
fatal(java.lang.Object message,
java.lang.Throwable t)
Log an error with fatal log level. |
void |
info(java.lang.Object message)
Log a message with info log level. |
void |
info(java.lang.Object message,
java.lang.Throwable t)
Log an error with info log level. |
boolean |
isDebugEnabled()
Is debug logging currently enabled? |
boolean |
isErrorEnabled()
Is error logging currently enabled? |
boolean |
isFatalEnabled()
Is fatal logging currently enabled? |
boolean |
isInfoEnabled()
Is info logging currently enabled? |
boolean |
isTraceEnabled()
Is trace logging currently enabled? |
boolean |
isWarnEnabled()
Is warning logging currently enabled? |
void |
trace(java.lang.Object message)
Log a message with trace log level. |
void |
trace(java.lang.Object message,
java.lang.Throwable t)
Log an error with trace log level. |
void |
warn(java.lang.Object message)
Log a message with warn log level. |
void |
warn(java.lang.Object message,
java.lang.Throwable t)
Log an error with warn log level. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AntLog(org.apache.tools.ant.Project project)
project - the Ant logger to delegate to
public AntLog(org.apache.tools.ant.Project project,
int antMsgLevel)
project - the Ant logger to delegate toantMsgLevel - the massage level from ant| Method Detail |
public void trace(java.lang.Object message)
Log a message with trace log level.
trace in interface org.apache.commons.logging.Logmessage - log this message
public void trace(java.lang.Object message,
java.lang.Throwable t)
Log an error with trace log level.
trace in interface org.apache.commons.logging.Logmessage - log this messaget - log this causepublic boolean isTraceEnabled()
Is trace logging currently enabled?
Call this method to prevent having to perform expensive operations (for example,
String concatination) when the log level is more than trace.
isTraceEnabled in interface org.apache.commons.logging.Logpublic void debug(java.lang.Object message)
Log a message with debug log level.
debug in interface org.apache.commons.logging.Logmessage - log this message
public void debug(java.lang.Object message,
java.lang.Throwable t)
Log an error with debug log level.
debug in interface org.apache.commons.logging.Logmessage - log this messaget - log this causepublic boolean isDebugEnabled()
Is debug logging currently enabled?
Call this method to prevent having to perform expensive operations (for example,
String concatination) when the log level is more than debug.
isDebugEnabled in interface org.apache.commons.logging.Logpublic void info(java.lang.Object message)
Log a message with info log level.
info in interface org.apache.commons.logging.Logmessage - log this message
public void info(java.lang.Object message,
java.lang.Throwable t)
Log an error with info log level.
info in interface org.apache.commons.logging.Logmessage - log this messaget - log this causepublic boolean isInfoEnabled()
Is info logging currently enabled?
Call this method to prevent having to perform expensive operations (for example,
String concatination) when the log level is more than info.
isInfoEnabled in interface org.apache.commons.logging.Logpublic void warn(java.lang.Object message)
Log a message with warn log level.
warn in interface org.apache.commons.logging.Logmessage - log this message
public void warn(java.lang.Object message,
java.lang.Throwable t)
Log an error with warn log level.
warn in interface org.apache.commons.logging.Logmessage - log this messaget - log this causepublic boolean isWarnEnabled()
Is warning logging currently enabled?
Call this method to prevent having to perform expensive operations (for example,
String concatination) when the log level is more than warning.
isWarnEnabled in interface org.apache.commons.logging.Logpublic void error(java.lang.Object message)
Log a message with error log level.
error in interface org.apache.commons.logging.Logmessage - log this message
public void error(java.lang.Object message,
java.lang.Throwable t)
Log an error with error log level.
error in interface org.apache.commons.logging.Logmessage - log this messaget - log this causepublic boolean isErrorEnabled()
Is error logging currently enabled?
Call this method to prevent having to perform expensive operations (for example,
String concatination) when the log level is more than error.
isErrorEnabled in interface org.apache.commons.logging.Logpublic void fatal(java.lang.Object message)
Log a message with fatal log level.
fatal in interface org.apache.commons.logging.Logmessage - log this message
public void fatal(java.lang.Object message,
java.lang.Throwable t)
Log an error with fatal log level.
fatal in interface org.apache.commons.logging.Logmessage - log this messaget - log this causepublic boolean isFatalEnabled()
Is fatal logging currently enabled?
Call this method to prevent having to perform expensive operations (for example,
String concatination) when the log level is more than fatal.
isFatalEnabled in interface org.apache.commons.logging.Log
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||