scribe.handler.AsynchronousLogHandle
See theAsynchronousLogHandle companion object
case class AsynchronousLogHandle(maxBuffer: Int, overflow: Overflow) extends LogHandle
Provides support for asynchronous logging to process the log record in another thread and avoid any blocking.
Value parameters
- formatter
-
the formatter to use (defaults to Formatter.default)
- maxBuffer
-
the maximum buffer before overflow occurs (defaults to AsynchronousLogHandler.DefaultMaxBuffer)
- modifiers
-
the modifiers
- outputFormat
-
the output format to use (defaults to OutputFormat.default)
- overflow
-
what to do with overflows (defaults to DropOld)
- writer
-
the writer to use (defaults to ConsoleWriter)
Attributes
Members list
In this article