package handler
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- handler
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- case class AsynchronousLogHandler(formatter: Formatter = Formatter.enhanced, writer: Writer = ConsoleWriter, modifiers: List[LogModifier] = Nil, maxBuffer: Int = ..., overflow: Overflow = Overflow.DropOld) extends LogHandler with Product with Serializable
- final class AtomicLongExtras extends AnyVal
- case class FunctionalLogHandler(f: (LogRecord[_]) ⇒ Unit, modifiers: List[LogModifier]) extends LogHandler with Product with Serializable
-
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 aFormatterand writing it to aWriter, although some more creative implementations exist to do more advanced actions. LogHandlers are added toLoggerinstances viawithHandler, although it's usually sufficient to use thewithHandlermethod that takes aFormatterandWriterinstead of defining aLogHandlermanually. - class LogOverflowException extends RuntimeException
- sealed trait Overflow extends AnyRef
- case class SynchronousLogHandler(formatter: Formatter = Formatter.enhanced, writer: Writer = ConsoleWriter, modifiers: List[LogModifier] = Nil) extends LogHandler with Product with Serializable
Value Members
- implicit def atomicExtras(l: AtomicLong): AtomicLongExtras
- object AsynchronousLogHandler extends Serializable
- object LogHandler
- object Overflow
- object SynchronousLogHandler extends Serializable