class N2y::RotatingBackend

Included Modules

Defined in:

n2y/rotating_backend.cr

Constant Summary

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

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Class Method Detail

def self.configure(&) #

[View source]
def self.settings #

[View source]

Instance Method Detail

def close #
Description copied from class Log::Backend

Closes underlying resources used by this backend.


[View source]
def format(entry : Log::Entry, io : IO) #

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


[View source]
def settings #

[View source]
def write(entry : Log::Entry) #
Description copied from class Log::Backend

Writes the entry to this backend.


[View source]