|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public void postLogEntry(LogLevel level, String msg)
level
- The log level to be usedmsg
- The message to be posted by the wrapped loggerpublic String getName()
LoggerImpl
object.
public LogLevel getLogLevel()
public void dismiss()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |