|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface for the adapter between the LogManager
and the logging framework actually used.
| Method Summary | |
boolean |
handles(int loggingLevel,
CallerInformation callerInformation)
Returns true, if the LogHandler can handle logging
messages for the calling logger and logging level. |
boolean |
isLogging(int loggingLevel,
CallerInformation callerInformation)
Tests, whether messages will be logged at the given logging level |
void |
log(int loggingLevel,
CallerInformation callerInformation,
java.lang.String message,
java.lang.Throwable exception)
Logs a message including an optional exception if logging is enabled for the specified calling logger and logging level. |
| Method Detail |
public boolean handles(int loggingLevel,
CallerInformation callerInformation)
true, if the LogHandler can handle logging
messages for the calling logger and logging level.
loggingLevel - the level to be logged, one of the constants from LoggingLevelcallerInformation - stores information about the logger caller (garanteed to be not null)
true, iff this LogHandler can handle logging
messages for the logger class and logging level given
public boolean isLogging(int loggingLevel,
CallerInformation callerInformation)
loggingLevel - the level to be logged, one of the constants from LoggingLevelcallerInformation - stores information about the logger caller (garanteed to be not null)
public void log(int loggingLevel,
CallerInformation callerInformation,
java.lang.String message,
java.lang.Throwable exception)
loggingLevel - the level to be logged, one of the constants from LoggingLevelcallerInformation - stores information about the logger caller (garanteed to be not null)message - the message to be logged (may be null)exception - the exception to be logged (may be null)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||