csw.logging.models

Members list

Packages

Type members

Classlikes

sealed trait AnyId

The trait for logging ids. It can be either a RequestId to a specific request or NoId when there is no associated request.

The trait for logging ids. It can be either a RequestId to a specific request or NoId when there is no associated request.

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class RequestId
object noId
sealed abstract class Level(val entryName: String, val pos: Int) extends EnumEntry, LoggingSerializable, Ordered[Level]

A logging level.

A logging level.

Attributes

Companion
object
Supertypes
trait Ordered[Level]
trait Comparable[Level]
trait EnumEntry
class Object
trait Matchable
class Any
Show all
Known subtypes
object DEBUG
object ERROR
object FATAL
object INFO
object TRACE
object WARN
Show all
object Level extends Enum[Level]

Companion object for the level trait.

Companion object for the level trait.

Attributes

Companion
class
Supertypes
trait Sum
trait Mirror
trait Enum[Level]
class Object
trait Matchable
class Any
Show all
Self type
Level.type
case class Levels(current: Level, default: Level)

Current and default logging levels.

Current and default logging levels.

Value parameters

current

the current logging level.

default

the default logging level.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class LogMetadata(defaultLevel: Level, pekkoLevel: Level, slf4jLevel: Level, componentLevel: Level) extends LoggingSerializable

Holds metadata information about logging configuration

Holds metadata information about logging configuration

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class RequestId(trackingId: String, spanId: String, level: Option[Level]) extends AnyId

The logging id of a specific request

The logging id of a specific request

Value parameters

level

a field for controlling per request log levels optional: defaults to no per request control

spanId

a sub-id used when a a service is called multiple times for the same global request optional: defaults to 0

trackingId

the global unique id of the request optional: A new unique id will be created if this is not specified

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait AnyId
class Object
trait Matchable
class Any
Show all
case object noId extends AnyId

The id value used in logging calls when there is no associated request

The id value used in logging calls when there is no associated request

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait AnyId
class Object
trait Matchable
class Any
Show all
Self type
noId.type