|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LogInfo
A interface centralizing all common functionalities for the log implementations.
Method Summary | |
---|---|
LogLevel |
getRecentEventThreshold()
Returns the threshold for the recent logs. |
void |
init()
Performs any necessary initialisation. |
List<File> |
listLogDirectories()
Returns a list of directories where log files are being stored. |
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. |
Method Detail |
---|
void init()
boolean supportsListLogDirectories()
true
if recent logs are supported;
false
otherwise.List<File> listLogDirectories()
Implementations must return an empty list rather than null
.
null
)boolean supportsRecentEvents()
true
if recent logs are supported;
false
otherwise.void setRecentEventThreshold(LogLevel level)
level
- The threshold for keeping recent log events including that level.LogLevel getRecentEventThreshold()
List<? extends XMLWritable> listRecentEvents()
Implementations must return an empty list rather than null
.
null
)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |