ReconfigurableLogger

zio.logging.ReconfigurableLogger
See theReconfigurableLogger companion object
sealed trait ReconfigurableLogger[-Message, +Output, Config] extends ZLogger[Message, Output]

Attributes

Companion
object
Graph
Supertypes
trait ZLogger[Message, Output]
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def get: (Config, ZLogger[Message, Output])
def set[M <: Message, O >: Output](config: Config, logger: ZLogger[M, O]): Unit

Inherited methods

def ++[M <: Message, O](that: ZLogger[M, O])(implicit zippable: Zippable[Output, O]): ZLogger[M, zippable.Out]

Combines this logger with the specified logger to produce a new logger that logs to both this logger and that logger.

Combines this logger with the specified logger to produce a new logger that logs to both this logger and that logger.

Attributes

Inherited from:
ZLogger
def +>[M <: Message, O](that: ZLogger[M, O]): ZLogger[M, O]

Attributes

Inherited from:
ZLogger
def <+[M <: Message](that: ZLogger[M, Any]): ZLogger[M, Output]

Attributes

Inherited from:
ZLogger

Attributes

Inherited from:
ZLogger
final def contramap[Message1](f: Message1 => Message): ZLogger[Message1, Output]

Attributes

Inherited from:
ZLogger
final def filterLogLevel(f: LogLevel => Boolean): ZLogger[Message, Option[Output]]

Returns a version of this logger that only logs messages when the log level satisfies the specified predicate.

Returns a version of this logger that only logs messages when the log level satisfies the specified predicate.

Attributes

Inherited from:
ZLogger
final def map[B](f: Output => B): ZLogger[Message, B]

Attributes

Inherited from:
ZLogger
final def test(input: => Message): Output

Attributes

Inherited from:
ZLogger