|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Wrapper
This interface is needed by LoggerImpl
objects to be able to
perform logging in an abstract way, independent of the currently used
underlying logging mechanism.
Method Summary | |
---|---|
void |
dismiss()
This method will be called in case the corresponding instance of the implementing class will not be used anymore. |
LogLevel |
getLogLevel()
Get the log level of the wrapped logger. |
String |
getName()
Get the name of the wrapped logger, which automatically is also the name of the corresponding LoggerImpl object. |
void |
postLogEntry(LogLevel level,
String msg)
Post a log entry into the underlying logging mechanism by means of the wrapped logger. |
Method Detail |
---|
void postLogEntry(LogLevel level, String msg)
level
- The log level to be usedmsg
- The message to be posted by the wrapped loggerString getName()
LoggerImpl
object.
LogLevel getLogLevel()
void dismiss()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |