|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jvoicexml.logging.jvxml.JVoiceXmlLogger
public final class JVoiceXmlLogger
Main class of the JVoiceXML logging. This is the default logging implementation based on log4j and provides a wrapper around the logging with JVoiceXML to hide the real logging implementation from the users.
The user should only have to place a logging configuration XML,
i.e. log4j.xml file into their CLASSPATH.
Copyright © 2005-2007 JVoiceXML group - http://jvoicexml.sourceforge.net/
| Constructor Summary | |
|---|---|
JVoiceXmlLogger()
|
|
| Method Summary | |
|---|---|
void |
debug(Object obj)
Log DEBUG messages. |
void |
debug(Object obj,
Throwable throwable)
Log DEBUG messages with the Throwable cause. |
void |
error(Object obj)
Log ERROR messages. |
void |
error(Object obj,
Throwable throwable)
Log ERROR messages with the Throwable cause. |
void |
fatal(Object obj)
Log FATAL messages. |
void |
fatal(Object obj,
Throwable throwable)
Log FATAL messages with the Throwable cause. |
void |
info(Object obj)
Log INFO messages. |
void |
info(Object obj,
Throwable throwable)
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 throwable)
Log WARN messages with the Throwable cause. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JVoiceXmlLogger()
| Method Detail |
|---|
public void seed(Class clazz)
seed in interface Loggerclazz - The class to attach the logger to.public void info(Object obj)
info in interface Loggerobj - The object to log, typically a java.lang.String.
public void info(Object obj,
Throwable throwable)
info in interface Loggerobj - The object to log, typically a java.lang.String.throwable - The java.lang.Throwable object representing this exception.public void warn(Object obj)
warn in interface Loggerobj - The object to log, typically a java.lang.String.
public void warn(Object obj,
Throwable throwable)
warn in interface Loggerobj - The object to log, typically a java.lang.String.throwable - The java.lang.Throwable object representing this exception.public void debug(Object obj)
debug in interface Loggerobj - The object to log, typically a java.lang.String.
public void debug(Object obj,
Throwable throwable)
debug in interface Loggerobj - The object to log, typically a java.lang.String.throwable - The java.lang.Throwable object representing this exception.public void error(Object obj)
error in interface Loggerobj - The object to log, typically a java.lang.String.
public void error(Object obj,
Throwable throwable)
error in interface Loggerobj - The object to log, typically a java.lang.String.throwable - The java.lang.Throwable object representing this exception.public void fatal(Object obj)
fatal in interface Loggerobj - The object to log, typically a java.lang.String.
public void fatal(Object obj,
Throwable throwable)
fatal in interface Loggerobj - The object to log, typically a java.lang.String.throwable - The java.lang.Throwable object representing this exception.public boolean isDebugEnabled()
isDebugEnabled in interface Loggerpublic boolean isInfoEnabled()
isInfoEnabled in interface Logger
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||