Skip to content

class Log::BroadcastBackend
inherits Log::Backend

A backend that broadcast to others backends. Each of the referenced backends may have a different severity level filter.

When this backend level is set that level setting takes precedence over the severity filter of each referenced backend.

This backend is not to be used explicitly. It is used by Log::Builder configuration to allow a given source to emit to multiple backends.

Class methods

Methods

#append(backend : Log::Backend, level : Severity)

View source

#close

Closes underlying resources used by this backend.

View source

#level=(level : Severity?)

View source

#write(entry : Entry)

Writes the entry to this backend.

View source