Package

scribe

handler

Permalink

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

Type Members

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

    Permalink

    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

    Permalink
  3. case class FunctionalLogHandler(f: (LogRecord[_]) ⇒ Unit, modifiers: List[LogModifier]) extends LogHandler with Product with Serializable

    Permalink
  4. trait LogHandle extends AnyRef

    Permalink
  5. trait LogHandler extends AnyRef

    Permalink

    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

    Permalink
  7. class LogOverflowException extends RuntimeException

    Permalink
  8. sealed trait Overflow extends AnyRef

    Permalink

Value Members

  1. object AsynchronousLogHandle extends Serializable

    Permalink
  2. object LogHandler

    Permalink
  3. object Overflow

    Permalink

    Overflow instructions for AsynchronousLogHandler

  4. object SynchronousLogHandle extends LogHandle

    Permalink
  5. implicit def atomicExtras(l: AtomicLong): AtomicLongExtras

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped