Packages

p

scribe

handler

package handler

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. handler
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. case class AsynchronousLogHandle(maxBuffer: Int, overflow: Overflow = Overflow.DropOld) extends LogHandle with Product with Serializable

    Provides support for asynchronous logging to process the log record in another thread and avoid any blocking.

    Provides support for asynchronous logging to process the log record in another thread and avoid any blocking.

    maxBuffer

    the maximum buffer before overflow occurs (defaults to AsynchronousLogHandler.DefaultMaxBuffer)

    overflow

    what to do with overflows (defaults to DropOld)

  2. final class AtomicLongExtras extends AnyVal
  3. case class FunctionalLogHandler(f: (LogRecord[_]) => Unit, modifiers: List[LogModifier]) extends LogHandler with Product with Serializable
  4. trait LogHandle extends AnyRef
  5. trait LogHandler extends AnyRef

    LogHandler is responsible for causing some side-effect with a LogRecord.

    LogHandler is responsible for causing some side-effect with a LogRecord. This usually includes formatting the record with a Formatter and writing it to a Writer, although some more creative implementations exist to do more advanced actions. LogHandlers are added to Logger instances via withHandler, although it's usually sufficient to use the withHandler method that takes a Formatter and Writer instead of defining a LogHandler manually.

  6. case class LogHandlerBuilder(formatter: Formatter = Formatter.default, writer: Writer = ConsoleWriter, outputFormat: OutputFormat = OutputFormat.default, modifiers: List[LogModifier] = Nil, handle: LogHandle = SynchronousLogHandle) extends LogHandler with Product with Serializable
  7. class LogOverflowException extends RuntimeException
  8. sealed trait Overflow extends AnyRef

Value Members

  1. implicit def atomicExtras(l: AtomicLong): AtomicLongExtras
  2. object AsynchronousLogHandle extends Serializable
  3. object LogHandler
  4. object Overflow

    Overflow instructions for AsynchronousLogHandler

  5. object SynchronousLogHandle extends LogHandle

Inherited from AnyRef

Inherited from Any

Ungrouped