case class FilterBuilder(priority: Priority = Priority.Normal, select: List[Filter] = Nil, include: List[Filter] = Nil, exclude: List[Filter] = Nil, booster: (Double) => Double = d => d, _excludeUnselected: Boolean = false, id: String = "") extends LogModifier with Product with Serializable
FilterBuilder allows convenient log modification
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- FilterBuilder
- Serializable
- Product
- Equals
- LogModifier
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val _excludeUnselected: Boolean
- def alwaysApply: LogModifier
- Definition Classes
- LogModifier
- def apply[M](record: LogRecord[M]): Option[LogRecord[M]]
Handles modification of a LogRecord
Handles modification of a LogRecord
- M
the type of message
- record
the record to modify
- returns
Some LogRecord that should continue to propagate or None if the logging action should be canceled
- Definition Classes
- FilterBuilder → LogModifier
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def boost(booster: (Double) => Double): FilterBuilder
- def boostOneLevel: FilterBuilder
- def boosted(minimumLevel: Level, destinationLevel: Level): FilterBuilder
- val booster: (Double) => Double
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def exclude(filters: Filter*): FilterBuilder
- val exclude: List[Filter]
- def excludeUnselected: FilterBuilder
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val id: String
Represents a unique identifier for this type of modifier.
Represents a unique identifier for this type of modifier. This is used when adding a LogModifier to a Logger to replace by type.
- Definition Classes
- FilterBuilder → LogModifier
- def include(filters: Filter*): FilterBuilder
- val include: List[Filter]
- def includeUnselected: FilterBuilder
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def priority(priority: Priority): FilterBuilder
Multiple LogModifiers attached to the same
Logger
are automatically sorted by Priority. - val priority: Priority
Multiple LogModifiers attached to the same
Logger
are automatically sorted by Priority.Multiple LogModifiers attached to the same
Logger
are automatically sorted by Priority.- Definition Classes
- FilterBuilder → LogModifier
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def select(filters: Filter*): FilterBuilder
- val select: List[Filter]
- def setLevel(level: Level): FilterBuilder
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withId(id: String): LogModifier
- Definition Classes
- FilterBuilder → LogModifier