scribe.handler

Members list

Concise view

Type members

Classlikes

case class FunctionalLogHandler(f: LogRecord => Unit, modifiers: List[LogModifier]) extends LogHandler

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
trait LogHandle

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

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.

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.

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object LogHandler

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
case class LogHandlerBuilder(formatter: Formatter, writer: Writer, outputFormat: OutputFormat, modifiers: List[LogModifier], handle: LogHandle) extends LogHandler

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
class LogOverflowException(message: String) extends RuntimeException

Attributes

Graph
Supertypes
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any

Attributes

Graph
Supertypes
trait LogHandle
class Object
trait Matchable
class Any
Self type