Packages

package internal

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. 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.

  2. class LogEntry extends AnyRef

    Companion class for lazy evaluation of the MessageWithContext instance.

  3. 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 object or by creating the instance as a field of an object.

  4. 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.

  5. 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

  1. object DeadlineWithTimeSource extends Serializable
  2. object LogEntry

    Companion object for the wrapper to enable implicit conversions

Ungrouped