|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.weborganic.bastille.log.logback.LogbackInfo
public final class LogbackInfo
A implementation of the log info interface for the Logback framework.
Constructor Summary | |
---|---|
LogbackInfo()
|
Method Summary | |
---|---|
LogLevel |
getRecentEventThreshold()
Returns the threshold for the recent logs. |
void |
init()
Sets up the recent events turbo filter. |
List<File> |
listLogDirectories()
Returns the list of log directories by looking at all the FileAppender instances. |
List<? extends XMLWritable> |
listRecentEvents()
Returns a list of the recent log entries as XMLWritable. |
void |
setRecentEventThreshold(LogLevel level)
Set the threshold for the recent logs. |
boolean |
supportsListLogDirectories()
Indicates whether the logging framework supports the listing of log directories. |
boolean |
supportsRecentEvents()
Indicates whether the logging framework supports the recent log functionality. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LogbackInfo()
Method Detail |
---|
public void init()
init
in interface LogInfo
public boolean supportsListLogDirectories()
LogInfo
supportsListLogDirectories
in interface LogInfo
true
.public List<File> listLogDirectories()
FileAppender
instances.
listLogDirectories
in interface LogInfo
public boolean supportsRecentEvents()
LogInfo
supportsRecentEvents
in interface LogInfo
true
.public void setRecentEventThreshold(LogLevel level)
LogInfo
setRecentEventThreshold
in interface LogInfo
level
- The threshold for keeping recent log events including that level.public LogLevel getRecentEventThreshold()
LogInfo
getRecentEventThreshold
in interface LogInfo
public List<? extends XMLWritable> listRecentEvents()
LogInfo
Implementations must return an empty list rather than null
.
listRecentEvents
in interface LogInfo
null
)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |