slog4s
package slog4s
- Alphabetic
- Public
- All
Type Members
-
trait
LevelLogBuilder[F[_]] extends AnyRef
Top level logging API for a specific logging level.
-
sealed
trait
Location extends AnyRef
Describes log statement location (file, line...).
Describes log statement location (file, line...). Might not always be available as it makes no sense in some context (typically when integrating with other logging libraries).
-
trait
LogBuilder[F[_]] extends AnyRef
A part of logging API for a specific logging level.
A part of logging API for a specific logging level. This trait is used to build a list of structured argument to be used for current logging statement.
-
trait
LogEncoder[T] extends AnyRef
Typeclass that is able to encode any value of T into logging friendly format.
Typeclass that is able to encode any value of T into logging friendly format. The type of logging format is determined by provided instance of StructureBuilder.
- T
type to be encoded
-
trait
Logger[F[_]] extends AnyRef
Basic Logger API.
Basic Logger API. Provides different builders for different log levels.
-
trait
LoggerFactory[F[_]] extends AnyRef
Our counterpart for http://www.slf4j.org/apidocs/org/slf4j/LoggerFactory.html.
-
trait
LoggingContext[F[_]] extends AnyRef
Typeclass used to modify a logging context.
Typeclass used to modify a logging context. The logging context is a list of named structured arguments that should be used by all applicable logging statements, typically inside give scope.
-
trait
StructureBuilder[T] extends AnyRef
Typeclass used to convert well defined values into desired structured logging format.
Typeclass used to convert well defined values into desired structured logging format. Typically this will be some sort of recursive data structure similar to JSON.
-
trait
WhenEnabledLogBuilder[F[_]] extends AnyRef
A part of logging API for a specific logging level.
A part of logging API for a specific logging level. This trait is useful in case when logging becomes expensive. It allows one to perform logging only when we need to, and not do anything when logging for specific combination of logger and logging level is turned off.
Value Members
- object LevelLogBuilder
- object Location
- object LogBuilder
- object LogEncoder extends HighPriorityLogEncoderImplicits
- object Logger
- object LoggingContext
- object StructureBuilder
- object WhenEnabledLogBuilder