Class LogQueryConfig
java.lang.Object
com.inductiveautomation.ignition.common.logging.LogQueryConfig
- All Implemented Interfaces:
- Serializable
A set of parameters for querying the logging system. Can be created by hand,
 or with LogQueryConfigBuilder.newBuilder() (the preferred method)
 
If a limit is specified, there might be additional rows available. The result set may have an estimate available, but you can always call query again with the same filter, but with the offset moved forward.
- See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classstatic class
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddAllowedLogger(String logger) voidaddAllowedMarker(String marker) voidaddPropertyFilter(String key, String value) voidaddSearchTerm(String term) voidaddSearchTerms(List<String> terms) longbooleanintgetLimit()intlongvoidsetEstimateTotalSize(boolean estimateTotalSize) voidsetLimit(int limit) voidsetMinLevel(Level minLevel) voidsetOffset(int offset) voidsetTimeRange(long start, long end) Sets a time range filter.toString()
- 
Constructor Details- 
LogQueryConfigpublic LogQueryConfig()
 
- 
- 
Method Details- 
addAllowedLogger
- 
getAllowedLoggers
- 
addAllowedMarker
- 
addSearchTerms
- 
addSearchTerm
- 
getSearchTerms
- 
getAllowedMarkers
- 
getPropertyFilters
- 
addPropertyFilter
- 
getMinLevel
- 
setMinLevel
- 
getLimitpublic int getLimit()
- 
setLimitpublic void setLimit(int limit) 
- 
getOffsetpublic int getOffset()
- 
setOffsetpublic void setOffset(int offset) 
- 
getStartTimepublic long getStartTime()
- 
getEndTimepublic long getEndTime()
- 
setTimeRangepublic void setTimeRange(long start, long end) Sets a time range filter. If either value is 0, it won't be included in the filter. For a time range relative to "now", set end=0, and start = -(ms range).
- 
getEstimateTotalSizepublic boolean getEstimateTotalSize()
- 
setEstimateTotalSizepublic void setEstimateTotalSize(boolean estimateTotalSize) 
- 
toString
- 
newBuilder
 
-