← ZIO Logging docs

LogGroup

zio.logging.LogGroup
See theLogGroup companion trait
object LogGroup

Attributes

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

Members list

Value members

Concrete methods

def apply[M, O](fn: (Trace, FiberId, LogLevel, () => M, Cause[Any], FiberRefs, List[LogSpan], Map[String, String]) => O): LogGroup[M, O]

Attributes

Source
LogGroup.scala
def constant[O](value: O): LogGroup[Any, O]

Log group with given constant value

Log group with given constant value

Attributes

Source
LogGroup.scala
def fromLoggerNameExtractor(loggerNameExtractor: LoggerNameExtractor, loggerNameDefault: String = ...): LogGroup[Any, String]

Attributes

Source
LogGroup.scala

Concrete fields

val cause: LogGroup[Any, Cause[Any]]

Log group by cause

Log group by cause

Attributes

Source
LogGroup.scala

Log group by level

Log group by level

Attributes

Source
LogGroup.scala

Log group by logger name

Log group by logger name

Logger name is extracted from annotation or Trace, see: LoggerNameExtractor.loggerNameAnnotationOrTrace

Attributes

Source
LogGroup.scala

Log group by logger name and log level

Log group by logger name and log level

Logger name is extracted from annotation or Trace

Attributes

Source
LogGroup.scala