ZIOLogOps

oxygen.zio.syntax.log.ZIOLogOps
implicit class ZIOLogOps(self: ZIO.type)

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

inline def annotated(key: String, value: String): FiberRefModification
inline def annotated(annotations: (String, String)*): FiberRefModification
inline def annotated(annotations: Map[String, String]): FiberRefModification
def logAtLevel(level: LogLevel)(message: => String, cause: => Cause[Any])(using trace: Trace): UIO[Unit]
def logDebugAnnotated(message: => String, annotations: (String, String)*)(using trace: Trace): UIO[Unit]
def logDetailed(message: => String)(using trace: Trace): UIO[Unit]
def logDetailedAnnotated(message: => String, annotations: (String, String)*)(using trace: Trace): UIO[Unit]
def logDetailedCause(message: => String, cause: => Cause[Any])(using trace: Trace): UIO[Unit]
def logDetailedCause(cause: => Cause[Any])(using trace: Trace): UIO[Unit]
def logErrorAnnotated(message: => String, annotations: (String, String)*)(using trace: Trace): UIO[Unit]
def logFatalAnnotated(message: => String, annotations: (String, String)*)(using trace: Trace): UIO[Unit]
def logImportant(message: => String)(using trace: Trace): UIO[Unit]
def logImportantAnnotated(message: => String, annotations: (String, String)*)(using trace: Trace): UIO[Unit]
def logImportantCause(message: => String, cause: => Cause[Any])(using trace: Trace): UIO[Unit]
def logImportantCause(cause: => Cause[Any])(using trace: Trace): UIO[Unit]
def logInfoAnnotated(message: => String, annotations: (String, String)*)(using trace: Trace): UIO[Unit]
def logTraceAnnotated(message: => String, annotations: (String, String)*)(using trace: Trace): UIO[Unit]
def logWarningAnnotated(message: => String, annotations: (String, String)*)(using trace: Trace): UIO[Unit]
def withLogSpan(label: String): FiberRefModification
def withLogSpans(spans: List[LogSpan]): FiberRefModification
def withMinLogLevel(level: LogLevel): ZIOAspectPoly

Note: This is only designed to work if you are leveraging oxygen.zio.logging.LogConfig.

Note: This is only designed to work if you are leveraging oxygen.zio.logging.LogConfig.

Attributes