scribe.handler
Members list
Type members
Classlikes
Provides support for asynchronous logging to process the log record in another thread and avoid any blocking.
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
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
Attributes
- Supertypes
-
class AnyValtrait Matchableclass Any
CachingLogHandler provides a convenient LogHandler to cache LogRecords and drop old records if the record count overflows.
CachingLogHandler provides a convenient LogHandler to cache LogRecords and drop old records if the record count overflows.
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait LogHandlerclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
CachingLogHandler.type
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait LogHandlerclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class AsynchronousLogHandleobject SynchronousLogHandle.type
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
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
LogHandler.type
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait LogHandlerclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
- Self type
-
SynchronousLogHandle.type