AsynchronousLogHandle

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

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait LogHandle
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

final def flush(): Unit
def flushNext(): Boolean
override def log(handler: LogHandlerBuilder, record: LogRecord): Unit

Attributes

Definition Classes
def withMaxBuffer(maxBuffer: Int): AsynchronousLogHandle

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product