|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Provides an interface for the logging services.
This interface should be implemented by services which can do the real logging, i.e. they are able to write the log messages to a particular physical store. Sometimes they are called also the logging adapters.
Method Summary | |
void |
log(java.lang.String facility,
LogLevel level,
java.lang.String message)
Logs the message with the given logging level and the logging facility. |
void |
log(java.lang.String facility,
LogLevel level,
java.lang.String message,
java.lang.Throwable error)
Logs the message and the error with the given logging level and the logging facility. |
Method Detail |
public void log(java.lang.String facility, LogLevel level, java.lang.String message)
facility
- the logging facilitylevel
- the logging levelmessage
- the messagepublic void log(java.lang.String facility, LogLevel level, java.lang.String message, java.lang.Throwable error)
facility
- the logging facilitylevel
- the logging levelmessage
- the messageerror
- the error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |