zio.logging
Members list
Type members
Classlikes
Attributes
- Companion
- class
- Supertypes
- Self type
-
ConsoleLoggerConfig.type
Attributes
- Companion
- class
- Supertypes
- Self type
-
FileLoggerConfig.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
- Supertypes
- Self type
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
LogAnnotation.type
A LogContext
stores context associated with logging operations.
A LogContext
stores context associated with logging operations.
Attributes
- Companion
- object
- Supertypes
- Self type
Attributes
- Companion
- class
- Supertypes
- Self type
-
LogContext.type
A LogFormat represents a DSL to describe the format of text log messages.
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Attributes
- Companion
- trait
- Supertypes
- Self type
-
LoggerNameExtractor.type
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ReconfigurableLogger.type
Inherited classlikes
Attributes
- Inherited from:
- LoggingPackageAllPlatforms (hidden)
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- LoggingPackageAllPlatforms (hidden)
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- LoggerLayers (hidden)
- 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)
Attributes
- Inherited from:
- LoggerLayers (hidden)
Attributes
- Inherited from:
- LoggerLayers (hidden)
Attributes
- Inherited from:
- LoggerLayers (hidden)
Attributes
- Inherited from:
- LoggerLayers (hidden)
Attributes
- Inherited from:
- LoggerLayers (hidden)
Attributes
- Inherited from:
- LoggerLayers (hidden)
Attributes
- Inherited from:
- LoggerLayers (hidden)
Attributes
- Inherited from:
- LoggerLayers (hidden)
Attributes
- Inherited from:
- FileLoggerLayers (hidden)
Attributes
- Inherited from:
- FileLoggerLayers (hidden)
Attributes
- Inherited from:
- FileLoggerLayers (hidden)
Attributes
- Inherited from:
- FileLoggerLayers (hidden)
Attributes
- Inherited from:
- FileLoggerLayers (hidden)
Attributes
- Inherited from:
- FileLoggerLayers (hidden)
Attributes
- Inherited from:
- FileLoggerLayers (hidden)
Attributes
- Inherited from:
- FileLoggerLayers (hidden)
Attributes
- Inherited from:
- LoggerLayers (hidden)
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)
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)
Attributes
- Inherited from:
- LoggerLayers (hidden)
Attributes
- Inherited from:
- LoggerLayers (hidden)
Attributes
- Inherited from:
- LoggerLayers (hidden)
Attributes
- Inherited from:
- LoggerLayers (hidden)
Attributes
- Inherited from:
- FileLoggerLayers (hidden)
Attributes
- Inherited from:
- FileLoggerLayers (hidden)
Attributes
- Inherited from:
- FileLoggerLayers (hidden)
Attributes
- Inherited from:
- FileLoggerLayers (hidden)
Attributes
- Inherited from:
- FileLoggerLayers (hidden)
Attributes
- Inherited from:
- FileLoggerLayers (hidden)
Attributes
- Inherited from:
- LoggerLayers (hidden)
Attributes
- Inherited from:
- LoggerLayers (hidden)
Attributes
- Inherited from:
- LoggerLayers (hidden)
Attributes
- Inherited from:
- LoggerLayers (hidden)
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)
Attributes
- Inherited from:
- LoggerLayers (hidden)
Attributes
- Inherited from:
- LoggingPackageAllPlatforms (hidden)
log aspect annotation key for logger name
log aspect annotation key for logger name
Attributes
- Inherited from:
- LoggingPackageAllPlatforms (hidden)
Implicits
Inherited implicits
Attributes
- Inherited from:
- LoggingPackageAllPlatforms (hidden)
Attributes
- Inherited from:
- LoggingPackageAllPlatforms (hidden)
Attributes
- Inherited from:
- LoggerLayers (hidden)