package internal
- Alphabetic
- Public
- Protected
Type Members
- case class DeadlineWithTimeSource(time: FiniteDuration, timeSource: NanoTimeTimeSource = SystemNanoTimeSource) extends Product with Serializable
This is essentially the same as Scala's Deadline, just with a custom source of nanoTime so it can actually be tested properly.
- class LogEntry extends AnyRef
Companion class for lazy evaluation of the MessageWithContext instance.
- class LogThrottler extends Logging
A thread-safe token bucket-based throttler implementation with nanosecond accuracy.
A thread-safe token bucket-based throttler implementation with nanosecond accuracy.
Each instance must be shared across all scopes it should throttle. For global throttling that means either by extending this class in an
objector by creating the instance as a field of anobject. - trait Logging extends AnyRef
Utility trait for classes that want to log data.
Utility trait for classes that want to log data. Creates a SLF4J logger for the class and allows logging messages at different levels using methods that only evaluate parameters lazily if the log level is enabled.
- case class MessageWithContext(message: String, context: Map[String, String]) extends Product with Serializable
Wrapper class for log messages that include a logging context.
Wrapper class for log messages that include a logging context. This is used as the return type of the string interpolator
LogStringContext.
Value Members
- object DeadlineWithTimeSource extends Serializable
- object LogEntry
Companion object for the wrapper to enable implicit conversions