final case class CustomEventFilter(test: PartialFunction[LogEvent, Boolean])(occurrences: Int) extends EventFilter with Product with Serializable
Ordering
- Alphabetic
- By Inheritance
Inherited
- CustomEventFilter
- Serializable
- Product
- Equals
- EventFilter
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def apply(event: LogEvent): Boolean
- Definition Classes
- EventFilter
- def assertDone(max: Duration): Unit
Assert that this filter has matched as often as requested by its
occurrences
parameter specifies.Assert that this filter has matched as often as requested by its
occurrences
parameter specifies.- Definition Classes
- EventFilter
- def awaitDone(max: Duration): Boolean
- Definition Classes
- EventFilter
- def intercept[T](code: => T)(implicit system: ActorSystem): T
Apply this filter while executing the given code block.
Apply this filter while executing the given code block. Care is taken to remove the filter when the block is finished or aborted.
- Definition Classes
- EventFilter
- def matches(event: LogEvent): Boolean
This method decides whether to filter the event (
true
) or not (false
).This method decides whether to filter the event (
true
) or not (false
).- Definition Classes
- → EventFilter
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val test: [, Boolean]
Custom event filter when the others do not fit the bill.
If the partial function is defined and returns true, filter the event.