|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Logger
Allows for users to implement their own logging mechanism.
Copyright © 2005-2007 JVoiceXML group - http://jvoicexml.sourceforge.net/
| Method Summary | |
|---|---|
void |
debug(Object obj)
Log DEBUG messages. |
void |
debug(Object obj,
Throwable t)
Log DEBUG messages with the Throwable cause. |
void |
error(Object obj)
Log ERROR messages. |
void |
error(Object obj,
Throwable t)
Log ERROR messages with the Throwable cause. |
void |
fatal(Object obj)
Log FATAL messages. |
void |
fatal(Object obj,
Throwable t)
Log FATAL messages with the Throwable cause. |
void |
info(Object obj)
Log INFO messages. |
void |
info(Object obj,
Throwable t)
Log INFO messages with the Throwable cause. |
boolean |
isDebugEnabled()
Inform the caller whether the level of logging is DEBUG. |
boolean |
isInfoEnabled()
Inform the caller whether the level of logging is INFO. |
void |
seed(Class clazz)
Seed the Logger implementation class with the class doing the logging. |
void |
warn(Object obj)
Log WARN messages. |
void |
warn(Object obj,
Throwable t)
Log WARN messages with the Throwable cause. |
| Method Detail |
|---|
void seed(Class clazz)
clazz - The class to attach the logger to.void info(Object obj)
obj - The object to log, typically a java.lang.String.
void info(Object obj,
Throwable t)
obj - The object to log, typically a java.lang.String.t - The java.lang.Throwable object representing this exception.void warn(Object obj)
obj - The object to log, typically a java.lang.String.
void warn(Object obj,
Throwable t)
obj - The object to log, typically a java.lang.String.t - The java.lang.Throwable object representing this exception.void debug(Object obj)
obj - The object to log, typically a java.lang.String.
void debug(Object obj,
Throwable t)
obj - The object to log, typically a java.lang.String.t - The java.lang.Throwable object representing this exception.void error(Object obj)
obj - The object to log, typically a java.lang.String.
void error(Object obj,
Throwable t)
obj - The object to log, typically a java.lang.String.t - The java.lang.Throwable object representing this exception.void fatal(Object obj)
obj - The object to log, typically a java.lang.String.
void fatal(Object obj,
Throwable t)
obj - The object to log, typically a java.lang.String.t - The java.lang.Throwable object representing this exception.boolean isDebugEnabled()
boolean isInfoEnabled()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||