package handler
Ordering
- Alphabetic
Visibility
- Public
- All
Type Members
- case class FunctionalLogHandler(f: (LogRecord[_]) ⇒ Unit, modifiers: List[LogModifier]) extends LogHandler with Product with Serializable
- trait LogHandle extends AnyRef
-
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 aFormatter
and writing it to aWriter
, although some more creative implementations exist to do more advanced actions. LogHandlers are added toLogger
instances viawithHandler
, although it's usually sufficient to use thewithHandler
method that takes aFormatter
andWriter
instead of defining aLogHandler
manually. - 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
- class LogOverflowException extends RuntimeException
Value Members
- object LogHandler
- object SynchronousLogHandle extends LogHandle