← ZIO Logging docs

LoggerNameExtractor

zio.logging.LoggerNameExtractor
See theLoggerNameExtractor companion object
sealed trait LoggerNameExtractor

Attributes

Companion
object
Source
LoggerNameExtractor.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Abstract methods

def apply(trace: Trace, context: FiberRefs, annotations: Map[String, String]): Option[String]

Attributes

Source
LoggerNameExtractor.scala

Concrete methods

The alphanumeric version of the || operator.

The alphanumeric version of the || operator.

Attributes

Source
LoggerNameExtractor.scala
final def toLogFormat(default: String = ...): LogFormat

Converts this extractor into a log format

Converts this extractor into a log format

Attributes

Source
LoggerNameExtractor.scala
final def toLogGroup(default: String = ...): LogGroup[Any, String]

Converts this extractor into a log group

Converts this extractor into a log group

Attributes

Source
LoggerNameExtractor.scala

Returns a new extractor which return logger name from this one or other if this is empty

Returns a new extractor which return logger name from this one or other if this is empty

Attributes

Source
LoggerNameExtractor.scala