public class LogFilter
Allows to reduce logs from analyzing (skip them in incident notifications).
| Modifier and Type | Class and Description |
|---|---|
static class |
LogFilter.Companion |
| Modifier and Type | Field and Description |
|---|---|
static LogFilter.Companion |
Companion |
static java.lang.String |
FILE_COMMENT_PREFIX |
| Constructor and Description |
|---|
LogFilter()
Allows to reduce logs from analyzing (skip them in incident notifications).
|
| Modifier and Type | Method and Description |
|---|---|
void |
excludeFile(java.io.File file) |
void |
excludeRule(kotlin.jvm.functions.Function1<? super com.cognifide.gradle.aem.instance.tail.Log,java.lang.Boolean> predicate) |
void |
excludeWildcard(java.lang.String... matchers) |
void |
excludeWildcard(java.lang.Iterable<java.lang.String> matchers) |
void |
excludeWildcard(kotlin.sequences.Sequence<java.lang.String> matchers) |
void |
excludeWildcard(java.lang.String matcher) |
java.util.List<java.io.File> |
getExcludeFiles()
Rules that can be added to file (one each line with wildcards) during tailer runtime (without restarting).
|
java.util.List<kotlin.jvm.functions.Function1> |
getExcludeRules()
Rules defined at build configuration phase.
|
boolean |
isExcluded(Log log) |
@NotNull public static java.lang.String FILE_COMMENT_PREFIX
public static LogFilter.Companion Companion
public LogFilter()
Allows to reduce logs from analyzing (skip them in incident notifications).
@NotNull public java.util.List<kotlin.jvm.functions.Function1> getExcludeRules()
Rules defined at build configuration phase.
@NotNull public java.util.List<java.io.File> getExcludeFiles()
Rules that can be added to file (one each line with wildcards) during tailer runtime (without restarting).
public boolean isExcluded(@NotNull
Log log)
public void excludeRule(@NotNull
kotlin.jvm.functions.Function1<? super com.cognifide.gradle.aem.instance.tail.Log,java.lang.Boolean> predicate)
public void excludeFile(@NotNull
java.io.File file)
public void excludeWildcard(@NotNull
java.lang.String... matchers)
public void excludeWildcard(@NotNull
java.lang.Iterable<java.lang.String> matchers)
public void excludeWildcard(@NotNull
kotlin.sequences.Sequence<java.lang.String> matchers)
public void excludeWildcard(@NotNull
java.lang.String matcher)