← ZIO Logging docs

LogGroup

zio.logging.LogGroup
See theLogGroup companion object
sealed trait LogGroup[-Message, Out]

Attributes

Companion
object
Source
LogGroup.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
LogGroup[Message, Out]

Members list

Value members

Abstract methods

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

Attributes

Source
LogGroup.scala

Concrete methods

final def ++[M <: Message, O, Out2](other: LogGroup[M, O])(implicit zippable: Out[Out, O, Out2]): LogGroup[M, Out2]

Combine this log group with specified log group

Combine this log group with specified log group

Attributes

Source
LogGroup.scala
final def contramap[M](f: M => Message): LogGroup[M, Out]

Attributes

Source
LogGroup.scala
final def map[O](f: Out => O): LogGroup[Message, O]

Returns new log group whose result is mapped by the specified f function.

Returns new log group whose result is mapped by the specified f function.

Attributes

Source
LogGroup.scala
final def zip[M <: Message, O, Out2](other: LogGroup[M, O])(implicit zippable: Out[Out, O, Out2]): LogGroup[M, Out2]

Combine this log group with specified log group

Combine this log group with specified log group

Attributes

Source
LogGroup.scala
final def zipWith[M <: Message, O, Out2](other: LogGroup[M, O])(f: (Out, O) => Out2): LogGroup[M, Out2]

Zips this log group together with the specified log group using the combination functions.

Zips this log group together with the specified log group using the combination functions.

Attributes

Source
LogGroup.scala