|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.apache.avalon.framework.logger.Log4JLogger
The default Log4J wrapper class for Logger.
| Constructor Summary | |
Log4JLogger(org.apache.log4j.Logger logImpl)
Create a logger that delegates to specified category. |
|
| Method Summary | |
void |
debug(String message)
Log a debug message. |
void |
debug(String message,
Throwable throwable)
Log a debug message. |
void |
error(String message)
Log a error message. |
void |
error(String message,
Throwable throwable)
Log a error message. |
void |
fatalError(String message)
Log a fatalError message. |
void |
fatalError(String message,
Throwable throwable)
Log a fatalError message. |
Logger |
getChildLogger(String name)
Create a new child logger. |
void |
info(String message)
Log a info message. |
void |
info(String message,
Throwable throwable)
Log a info message. |
boolean |
isDebugEnabled()
Determine if messages of priority "debug" will be logged. |
boolean |
isErrorEnabled()
Determine if messages of priority "error" will be logged. |
boolean |
isFatalErrorEnabled()
Determine if messages of priority "fatalError" will be logged. |
boolean |
isInfoEnabled()
Determine if messages of priority "info" will be logged. |
boolean |
isWarnEnabled()
Determine if messages of priority "warn" will be logged. |
void |
warn(String message)
Log a warn message. |
void |
warn(String message,
Throwable throwable)
Log a warn message. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Log4JLogger(org.apache.log4j.Logger logImpl)
logImpl - the category to delegate to| Method Detail |
public final void debug(String message)
debug in interface Loggermessage - the message
public final void debug(String message,
Throwable throwable)
debug in interface Loggermessage - the messagethrowable - the throwablepublic final boolean isDebugEnabled()
isDebugEnabled in interface Loggerpublic final void info(String message)
info in interface Loggermessage - the message
public final void info(String message,
Throwable throwable)
info in interface Loggermessage - the messagethrowable - the throwablepublic final boolean isInfoEnabled()
isInfoEnabled in interface Loggerpublic final void warn(String message)
warn in interface Loggermessage - the message
public final void warn(String message,
Throwable throwable)
warn in interface Loggermessage - the messagethrowable - the throwablepublic final boolean isWarnEnabled()
isWarnEnabled in interface Loggerpublic final void error(String message)
error in interface Loggermessage - the message
public final void error(String message,
Throwable throwable)
error in interface Loggermessage - the messagethrowable - the throwablepublic final boolean isErrorEnabled()
isErrorEnabled in interface Loggerpublic final void fatalError(String message)
fatalError in interface Loggermessage - the message
public final void fatalError(String message,
Throwable throwable)
fatalError in interface Loggermessage - the messagethrowable - the throwablepublic final boolean isFatalErrorEnabled()
isFatalErrorEnabled in interface Loggerpublic final Logger getChildLogger(String name)
IllegalArgumentException if name has an empty element name
getChildLogger in interface Loggername - the subname of this logger
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||