|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SystemLog
Nested Class Summary | |
---|---|
static class |
SystemLog.LogMessage
|
static class |
SystemLog.SearchResults
|
Field Summary | |
---|---|
static int |
MAX_SEARCH_RESULTS
The most search lines that will ever be returned, no matter what you ask for. |
Method Summary | |
---|---|
String |
getConfigFileName()
Gets the name of the file that configures the log system |
String[] |
getLogFileNames()
Gets the name of all log files used by this log system. |
SystemLog.SearchResults |
getMatchingItems(String logFile,
Integer firstLine,
Integer lastLine,
String minLevel,
String regex,
int maxResults,
boolean includeStackTraces)
Searches the log for records matching the specified parameters. |
int |
getRefreshPeriodSeconds()
Indicates how often the log system should check to see if its configuration file has been updated. |
String |
getRootLoggerLevel()
Gets the name of the log level used for the root logger. |
void |
setConfigFileName(String fileName)
Sets the name of the file that the log system should configure itself from. |
void |
setRefreshPeriodSeconds(int seconds)
Sets how often the log system should check to see if its configuration file has been updated. |
void |
setRootLoggerLevel(String level)
Sets the name of the log level used for the root logger. |
Field Detail |
---|
static final int MAX_SEARCH_RESULTS
Method Detail |
---|
String getConfigFileName()
void setConfigFileName(String fileName)
String getRootLoggerLevel()
void setRootLoggerLevel(String level)
int getRefreshPeriodSeconds()
void setRefreshPeriodSeconds(int seconds)
String[] getLogFileNames()
SystemLog.SearchResults getMatchingItems(String logFile, Integer firstLine, Integer lastLine, String minLevel, String regex, int maxResults, boolean includeStackTraces)
MAX_SEARCH_RESULTS
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |