zio.logging
Members list
Packages
Type members
Classlikes
Attributes
- Companion
- class
- Source
- ConsoleLoggerConfig.scala
- Supertypes
- Self type
-
ConsoleLoggerConfig.type
Attributes
- Companion
- object
- Source
- ConsoleLoggerConfig.scala
- Supertypes
Attributes
- Companion
- class
- Source
- FileLoggerConfig.scala
- Supertypes
- Self type
-
FileLoggerConfig.type
Attributes
- Companion
- object
- Source
- FileLoggerConfig.scala
- Supertypes
Attributes
- Source
- FilteredLogger.scala
- Supertypes
Attributes
- Companion
- class
- Source
- LogAnnotation.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
LogAnnotation.type
A LogAnnotation describes a particular type of statically-typed log annotation applied to log lines. Log annotations combine in user-defined ways, which means they can have arbitrary structure. In the end, however, it must be possible to render each log annotation as a string.
A LogAnnotation describes a particular type of statically-typed log annotation applied to log lines. Log annotations combine in user-defined ways, which means they can have arbitrary structure. In the end, however, it must be possible to render each log annotation as a string.
myEffect @@ UserId("jdoe")
Attributes
- Companion
- object
- Source
- LogAnnotation.scala
- Supertypes
- Self type
Attributes
- Companion
- object
- Source
- LogColor.scala
- Supertypes
Attributes
- Companion
- class
- Source
- LogColor.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
LogColor.type
A LogContext stores context associated with logging operations.
A LogContext stores context associated with logging operations.
Attributes
- Companion
- object
- Source
- LogContext.scala
- Supertypes
- Self type
Attributes
- Companion
- class
- Source
- LogContext.scala
- Supertypes
- Self type
-
LogContext.type
Attributes
- Companion
- trait
- Source
- LogFilter.scala
- Supertypes
- Self type
-
LogFilter.type
A LogFilter represents function/conditions for log filtering
A LogFilter represents function/conditions for log filtering
Attributes
- Companion
- object
- Source
- LogFilter.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
LogFilter[Message]
A LogFormat represents a DSL to describe the format of text log messages.
A LogFormat represents a DSL to describe the format of text log messages.
import zio.logging.LogFormat._
timestamp.fixed(32) |-| level |-| label("message", quoted(line))
Attributes
- Companion
- object
- Source
- LogFormat.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Attributes
- Companion
- trait
- Source
- LogFormat.scala
- Supertypes
- Self type
-
LogFormat.type
Attributes
- Companion
- object
- Source
- LogGroup.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Attributes
- Companion
- trait
- Source
- LogGroup.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
LogGroup.type
Attributes
- Companion
- object
- Source
- LoggerNameExtractor.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Attributes
- Companion
- trait
- Source
- LoggerNameExtractor.scala
- Supertypes
- Self type
-
LoggerNameExtractor.type
Attributes
- Companion
- object
- Source
- ReconfigurableLogger.scala
- Supertypes
Attributes
- Companion
- trait
- Source
- ReconfigurableLogger.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ReconfigurableLogger.type
Inherited classlikes
Attributes
- Inherited from:
- LoggingPackageAllPlatforms (hidden)
- Source
- LoggingPackageAllPlatforms.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- LoggingPackageAllPlatforms (hidden)
- Source
- LoggingPackageAllPlatforms.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- LoggerLayers (hidden)
- Source
- LoggerLayers.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Value members
Inherited methods
Append logger name aspect, by which it is possible to append a logger name to the current logger name. The new name is appended using a dot (.) as the delimiter.
Append logger name aspect, by which it is possible to append a logger name to the current logger name. The new name is appended using a dot (.) as the delimiter.
annotation key: zio.logging.loggerNameAnnotationKey
Attributes
- Inherited from:
- LoggingPackageAllPlatforms (hidden)
- Source
- LoggingPackageAllPlatforms.scala
Attributes
- Inherited from:
- LoggerLayers (hidden)
- Source
- LoggerLayers.scala
Attributes
- Inherited from:
- LoggerLayers (hidden)
- Source
- LoggerLayers.scala
Attributes
- Inherited from:
- LoggerLayers (hidden)
- Source
- LoggerLayers.scala
Attributes
- Inherited from:
- LoggerLayers (hidden)
- Source
- LoggerLayers.scala
Attributes
- Inherited from:
- FileLoggerLayers (hidden)
- Source
- FileLoggerLayers.scala
Attributes
- Inherited from:
- FileLoggerLayers (hidden)
- Source
- FileLoggerLayers.scala
Attributes
- Inherited from:
- FileLoggerLayers (hidden)
- Source
- FileLoggerLayers.scala
Attributes
- Inherited from:
- FileLoggerLayers (hidden)
- Source
- FileLoggerLayers.scala
Attributes
- Inherited from:
- LoggerLayers (hidden)
- Source
- LoggerLayers.scala
Logger name aspect, by this aspect is possible to set logger name (in general, logger name is extracted from Trace)
Logger name aspect, by this aspect is possible to set logger name (in general, logger name is extracted from Trace)
annotation key: zio.logging.loggerNameAnnotationKey
Attributes
- Inherited from:
- LoggingPackageAllPlatforms (hidden)
- Source
- LoggingPackageAllPlatforms.scala
Attributes
- Inherited from:
- LoggerLayers (hidden)
- Source
- LoggerLayers.scala
Attributes
- Inherited from:
- LoggerLayers (hidden)
- Source
- LoggerLayers.scala
Attributes
- Inherited from:
- LoggerLayers (hidden)
- Source
- LoggerLayers.scala
Attributes
- Inherited from:
- LoggerLayers (hidden)
- Source
- LoggerLayers.scala
Attributes
- Inherited from:
- FileLoggerLayers (hidden)
- Source
- FileLoggerLayers.scala
Attributes
- Inherited from:
- FileLoggerLayers (hidden)
- Source
- FileLoggerLayers.scala
Attributes
- Inherited from:
- FileLoggerLayers (hidden)
- Source
- FileLoggerLayers.scala
Attributes
- Inherited from:
- FileLoggerLayers (hidden)
- Source
- FileLoggerLayers.scala
Attributes
- Inherited from:
- LoggerLayers (hidden)
- Source
- LoggerLayers.scala
Attributes
- Inherited from:
- LoggerLayers (hidden)
- Source
- LoggerLayers.scala
Attributes
- Inherited from:
- LoggerLayers (hidden)
- Source
- LoggerLayers.scala
Attributes
- Inherited from:
- LoggerLayers (hidden)
- Source
- LoggerLayers.scala
Inherited fields
The logContext fiber reference is used to store typed, structured log annotations, which can be utilized by backends to enrich log messages.
The logContext fiber reference is used to store typed, structured log annotations, which can be utilized by backends to enrich log messages.
Because logContext is an ordinary zio.FiberRef, it may be get, set, and updated like any other fiber reference. However, the idiomatic way to interact with logContext is by using zio.logging.LogAnnotation.
For example:
myResponseHandler(request) @@ UserId(request.userId)
This code would add the structured log annotation LogAnnotation.UserId to all log messages emitted by the myResponseHandler(request) effect.
Attributes
- Inherited from:
- LoggingPackageAllPlatforms (hidden)
- Source
- LoggingPackageAllPlatforms.scala
Attributes
- Inherited from:
- LoggerLayers (hidden)
- Source
- LoggerLayers.scala
Attributes
- Inherited from:
- LoggingPackageAllPlatforms (hidden)
- Source
- LoggingPackageAllPlatforms.scala
log aspect annotation key for logger name
log aspect annotation key for logger name
Attributes
- Inherited from:
- LoggingPackageAllPlatforms (hidden)
- Source
- LoggingPackageAllPlatforms.scala
Implicits
Inherited implicits
Attributes
- Inherited from:
- LoggingPackageAllPlatforms (hidden)
- Source
- LoggingPackageAllPlatforms.scala
Attributes
- Inherited from:
- LoggingPackageAllPlatforms (hidden)
- Source
- LoggingPackageAllPlatforms.scala
Attributes
- Inherited from:
- LoggerLayers (hidden)
- Source
- LoggerLayers.scala