class

N2y::RotatingBackend

Inherits Habitat::SettingsHelpers < Habitat::TempConfig < Log::Backend < Reference < Object

Constants

HABITAT_SETTINGS = [{decl: storage_path : String, example: nil, validation: nil}] of Nil

Constructors

Class methods

configure
Source
settings
Source

Instance methods

close

Closes underlying resources used by this backend.

Source
format(entry : Log::Entry, io : IO)

Emits the entry to the given io. It uses the #formatter to convert.

Source
settings
Source
write(entry : Log::Entry)

Writes the entry to this backend.

Source

Nested types