Class LogStoreImpl
java.lang.Object
org.apache.sling.commons.log.logback.internal.store.LogStoreImpl
- All Implemented Interfaces:
LogStore
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
LogStoreImpl
public LogStoreImpl(int maxEntriesKept)
-
-
Method Details
-
append
-
getRecent
Description copied from interface:LogStoreReturns a list ofLogEntries matching the specified parameters- Specified by:
getRecentin interfaceLogStore- Parameters:
pattern- the pattern to match against all the text-based fields of the log entry. Ignored ifnull.minLevel- the minimum level of the log entries. Defaults toLogLevel.TRACEifnull.maxEntries- the maximum entries to return. Clamped to 1 if needed.- Returns:
- a list of entries matching the parameters. May be empty but not
null
-
setMaxEntries
public void setMaxEntries(int maxEntriesKept)
-