|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is a facade for the different logging subsystems. It offers a simplified interface that follows IOC patterns and a simplified priority/level/severity abstraction.
Method Summary | |
void |
debug(java.lang.String message)
Log a debug message. |
void |
debug(java.lang.String message,
java.lang.Throwable throwable)
Log a debug message. |
void |
error(java.lang.String message)
Log a error message. |
void |
error(java.lang.String message,
java.lang.Throwable throwable)
Log a error message. |
void |
fatalError(java.lang.String message)
Log a fatalError message. |
void |
fatalError(java.lang.String message,
java.lang.Throwable throwable)
Log a fatalError message. |
Logger |
getChildLogger(java.lang.String name)
Create a new child logger. |
void |
info(java.lang.String message)
Log a info message. |
void |
info(java.lang.String message,
java.lang.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(java.lang.String message)
Log a warn message. |
void |
warn(java.lang.String message,
java.lang.Throwable throwable)
Log a warn message. |
Method Detail |
public void debug(java.lang.String message)
message
- the messagepublic void debug(java.lang.String message, java.lang.Throwable throwable)
message
- the messagethrowable
- the throwablepublic boolean isDebugEnabled()
public void info(java.lang.String message)
message
- the messagepublic void info(java.lang.String message, java.lang.Throwable throwable)
message
- the messagethrowable
- the throwablepublic boolean isInfoEnabled()
public void warn(java.lang.String message)
message
- the messagepublic void warn(java.lang.String message, java.lang.Throwable throwable)
message
- the messagethrowable
- the throwablepublic boolean isWarnEnabled()
public void error(java.lang.String message)
message
- the messagepublic void error(java.lang.String message, java.lang.Throwable throwable)
message
- the messagethrowable
- the throwablepublic boolean isErrorEnabled()
public void fatalError(java.lang.String message)
message
- the messagepublic void fatalError(java.lang.String message, java.lang.Throwable throwable)
message
- the messagethrowable
- the throwablepublic boolean isFatalErrorEnabled()
public Logger getChildLogger(java.lang.String name)
IllegalArgumentException
if name has an empty element name
name
- the subname of this logger
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |