← ZIO Logging docs

LogAnnotation

zio.logging.LogAnnotation
See theLogAnnotation companion class
object LogAnnotation

Attributes

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

Members list

Value members

Concrete fields

val TraceId: LogAnnotation[UUID]

The TraceId annotation keeps track of distributed trace id.

The TraceId annotation keeps track of distributed trace id.

Attributes

Source
LogAnnotation.scala

The TraceSpans annotation keeps track of distributed spans.

The TraceSpans annotation keeps track of distributed spans.

Attributes

Source
LogAnnotation.scala

The UserId annotation keeps track of user id.

The UserId annotation keeps track of user id.

Attributes

Source
LogAnnotation.scala