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 AsynchronousLogHandler(formatter: Formatter = Formatter.default, writer: Writer = ConsoleWriter, outputFormat: OutputFormat = OutputFormat.default, modifiers: List[LogModifier] = Nil, maxBuffer: Int = ..., overflow: Overflow = Overflow.DropOld) extends LogHandler 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.

    formatter

    the formatter to use (defaults to Formatter.default)

    writer

    the writer to use (defaults to ConsoleWriter)

    outputFormat

    the output format to use (defaults to OutputFormat.default)

    modifiers

    the modifiers

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

  5. class LogOverflowException extends RuntimeException

    Permalink
  6. sealed trait Overflow extends AnyRef

    Permalink
  7. case class SynchronousLogHandler(formatter: Formatter = Formatter.default, writer: Writer = ConsoleWriter, outputFormat: OutputFormat = OutputFormat.default, modifiers: List[LogModifier] = Nil) extends LogHandler with Product with Serializable

    Permalink

Value Members

  1. object AsynchronousLogHandler extends Serializable

    Permalink
  2. object LogHandler

    Permalink
  3. object Overflow

    Permalink

    Overflow instructions for AsynchronousLogHandler

  4. object SynchronousLogHandler extends Serializable

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

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped