Package org.apache.solr.logging.jul
Class JulWatcher
-
Field Summary
Fields inherited from class org.apache.solr.logging.LogWatcher
history, last -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()voidvoidsetLogLevel(String category, String level) Sets the log level within this frameworkvoidsetThreshold(String level) org.apache.solr.common.SolrDocumenttoSolrDocument(LogRecord event) Methods inherited from class org.apache.solr.logging.LogWatcher
add, getHistory, getHistorySize, getLastEvent, newRegisteredLogWatcher, reset
-
Constructor Details
-
JulWatcher
-
-
Method Details
-
getName
- Specified by:
getNamein classLogWatcher<LogRecord>- Returns:
- The implementation name
-
getAllLevels
- Specified by:
getAllLevelsin classLogWatcher<LogRecord>- Returns:
- The valid level names for this framework
-
setLogLevel
Description copied from class:LogWatcherSets the log level within this framework- Specified by:
setLogLevelin classLogWatcher<LogRecord>
-
getAllLoggers
- Specified by:
getAllLoggersin classLogWatcher<LogRecord>- Returns:
- all registered loggers
-
setThreshold
- Specified by:
setThresholdin classLogWatcher<LogRecord>
-
getThreshold
- Specified by:
getThresholdin classLogWatcher<LogRecord>
-
registerListener
- Specified by:
registerListenerin classLogWatcher<LogRecord>
-
toSolrDocument
- Specified by:
toSolrDocumentin classLogWatcher<LogRecord>
-