Skip to content

abstract class Log::Backend
inherits Reference

Base class for all backends.

Direct known subclasses

Log::BroadcastBackend Log::IOBackend Log::MemoryBackend

Class methods

.new(dispatch_mode : DispatchMode = :async)

View source

.new(dispatcher : Dispatcher)

View source

Methods

#close

Closes underlying resources used by this backend.

View source

#dispatcher : Dispatcher

View source

#dispatcher=(dispatcher : Dispatcher)

View source

abstract #write(entry : Entry)

Writes the entry to this backend.

View source