sealed trait LogFilter[-Message] extends AnyRef
A LogFilter
represents function/conditions for log filtering
- Self Type
- LogFilter[Message]
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- LogFilter
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- abstract type Value
Abstract Value Members
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def &&[M <: Message](other: LogFilter[M]): LogFilter[M]
Returns a new log filter which satisfy result of this and given log filter
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def and[M <: Message](other: LogFilter[M]): LogFilter[M]
The alphanumeric version of the
&&
operator. - final def apply(trace: Trace, fiberId: FiberId, logLevel: LogLevel, message: () => Message, cause: Cause[Any], context: FiberRefs, spans: List[LogSpan], annotations: Map[String, String]): Boolean
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- final def cached: LogFilter[Message]
Returns a new log filter with cached results
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def contramap[M](f: (M) => Message): LogFilter[M]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def filter[M <: Message, O](logger: ZLogger[M, O]): ZLogger[M, Option[O]]
Returns a version of logger that only logs messages when this filter is satisfied
- 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()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def not: LogFilter[Message]
The alphanumeric version of the
!
operator. - final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def or[M <: Message](other: LogFilter[M]): LogFilter[M]
The alphanumeric version of the
||
operator. - final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def unary_!: LogFilter[Message]
Returns a new log filter with negated result
- 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()
- final def ||[M <: Message](other: LogFilter[M]): LogFilter[M]
Returns a new log filter which satisfy result of this or given log filter