package models
- Alphabetic
- Public
- Protected
Type Members
- sealed trait AnyId extends AnyRef
The trait for logging ids.
The trait for logging ids. It can be either a RequestId to a specific request or NoId when there is no associated request.
- sealed abstract class Level extends EnumEntry with LoggingSerializable with Ordered[Level]
A logging level.
- case class Levels(current: Level, default: Level) extends Product with Serializable
Current and default logging levels.
Current and default logging levels.
- current
the current logging level.
- default
the default logging level.
- case class LogMetadata(defaultLevel: Level, akkaLevel: Level, slf4jLevel: Level, componentLevel: Level) extends LoggingSerializable with Product with Serializable
Holds metadata information about logging configuration
- case class RequestId(trackingId: String = UUID.randomUUID().toString, spanId: String = "", level: Option[Level] = None) extends AnyId with Product with Serializable
The logging id of a specific request
The logging id of a specific request
- trackingId
the global unique id of the request optional: A new unique id will be created if this is not specified
- spanId
a sub-id used when a a service is called multiple times for the same global request optional: defaults to 0
- level
a field for controlling per request log levels optional: defaults to no per request control