ConsoleOutlet

Base class for all console outlets.

Prints all chunks received using consecutive calls to print, then calls flush. Both of those can be overridden.

Inheritors

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open override var formatter: (LogEntry) -> Iterable<Chunk>?

Functions

Link copied to clipboard
open fun format(entry: LogEntry): Iterable<Chunk>?
Link copied to clipboard
open fun formatWith(formatter: (LogEntry) -> Iterable<Chunk>)
Link copied to clipboard
open override fun send(chunks: Iterable<Chunk>)