-
public final class LogFilterAllows to reduce logs from analyzing (skip them in incident notifications).
-
-
Field Summary
Fields Modifier and Type Field Description private final List<Function1<Log, Boolean>>excludeRulesprivate final ConfigurableFileCollectionexcludeFiles
-
Method Summary
Modifier and Type Method Description final BooleanisExcluded(Log log)final UnitexcludeRule(Function1<Log, Boolean> predicate)final UnitexcludeFile(Object file)final UnitexcludeWildcard(Array<Out String> matchers)final UnitexcludeWildcard(Iterable<String> matchers)final UnitexcludeWildcard(Sequence<String> matchers)final UnitexcludeWildcard(String matcher)final List<Function1<Log, Boolean>>getExcludeRules()Rules defined at build configuration phase. final ConfigurableFileCollectiongetExcludeFiles()Rules that can be added to file (one each line with wildcards) during tailer runtime (without restarting). -
-
Constructor Detail
-
LogFilter
LogFilter(Project project)
-
-
Method Detail
-
isExcluded
final Boolean isExcluded(Log log)
-
excludeRule
final Unit excludeRule(Function1<Log, Boolean> predicate)
-
excludeFile
final Unit excludeFile(Object file)
-
excludeWildcard
final Unit excludeWildcard(Array<Out String> matchers)
-
excludeWildcard
final Unit excludeWildcard(Iterable<String> matchers)
-
excludeWildcard
final Unit excludeWildcard(Sequence<String> matchers)
-
excludeWildcard
final Unit excludeWildcard(String matcher)
-
getExcludeRules
final List<Function1<Log, Boolean>> getExcludeRules()
Rules defined at build configuration phase.
-
getExcludeFiles
final ConfigurableFileCollection getExcludeFiles()
Rules that can be added to file (one each line with wildcards) during tailer runtime (without restarting).
-
-
-
-