LogFilter

zio.logging.LogFilter
See theLogFilter companion object
sealed trait LogFilter[-Message]

A LogFilter represents function/conditions for log filtering

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
LogFilter[Message]

Members list

Type members

Types

type Value

Value members

Abstract methods

def group: LogGroup[Message, Value]

Concrete methods

final def &&[M <: Message](other: LogFilter[M]): LogFilter[M]

Returns a new log filter which satisfy result of this and given log filter

Returns a new log filter which satisfy result of this and given log filter

Attributes

final def and[M <: Message](other: LogFilter[M]): LogFilter[M]

The alphanumeric version of the && operator.

The alphanumeric version of the && operator.

Attributes

final def cached: LogFilter[Message]

Returns a new log filter with cached results

Returns a new log filter with cached results

Attributes

final def contramap[M](f: M => Message): LogFilter[M]
final 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

Returns a version of logger that only logs messages when this filter is satisfied

Attributes

final def not: LogFilter[Message]

The alphanumeric version of the ! operator.

The alphanumeric version of the ! operator.

Attributes

final def or[M <: Message](other: LogFilter[M]): LogFilter[M]

The alphanumeric version of the || operator.

The alphanumeric version of the || operator.

Attributes

final def unary_!: LogFilter[Message]

Returns a new log filter with negated result

Returns a new log filter with negated result

Attributes

final def ||[M <: Message](other: LogFilter[M]): LogFilter[M]

Returns a new log filter which satisfy result of this or given log filter

Returns a new log filter which satisfy result of this or given log filter

Attributes