aem-plugin / com.cognifide.gradle.aem.common.instance.tail / LogFilter

LogFilter

class LogFilter

Allows to reduce logs from analyzing (skip them in incident notifications).

Constructors

<init>

Allows to reduce logs from analyzing (skip them in incident notifications).

LogFilter(project: Project)

Properties

excludeFiles

Rules that can be added to file (one each line with wildcards) during tailer runtime (without restarting).

val excludeFiles: ConfigurableFileCollection!

excludeRules

Rules defined at build configuration phase.

val excludeRules: MutableList<Log.() -> Boolean>

Functions

excludeFile

fun excludeFile(file: Any): Unit

excludeRule

fun excludeRule(predicate: Log.() -> Boolean): Unit

excludeWildcard

fun excludeWildcard(vararg matchers: String): Unit
fun excludeWildcard(matchers: Iterable<String>): Unit
fun excludeWildcard(matchers: Sequence<String>): Unit
fun excludeWildcard(matcher: String): Unit

isExcluded

fun isExcluded(log: Log): Boolean

Companion Object Properties

FILE_COMMENT_PREFIX

const val FILE_COMMENT_PREFIX: String