OxygenZLogger

oxygen.zio.logging.OxygenZLogger
final case class OxygenZLogger(logger: ZLogger[String, String], minLevel: LogLevel, printStream: PrintStream) extends ZLogger[String, Unit]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait ZLogger[String, Unit]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def apply(trace: Trace, fiberId: FiberId, logLevel: LogLevel, message: () => String, cause: Cause[Any], context: FiberRefs, spans: List[LogSpan], annotations: Map[String, String]): Unit

Attributes

Definition Classes
ZLogger
def withMinLevel(minLevel: LogLevel): OxygenZLogger

Inherited methods

def ++[M <: String, O](that: ZLogger[M, O])(implicit zippable: Zippable[Unit, 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 <: String, O](that: ZLogger[M, O]): ZLogger[M, O]

Attributes

Inherited from:
ZLogger
def <+[M <: String](that: ZLogger[M, Any]): ZLogger[M, Unit]

Attributes

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

Attributes

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

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: Unit => B): ZLogger[String, B]

Attributes

Inherited from:
ZLogger
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
final def test(input: => String): Unit

Attributes

Inherited from:
ZLogger