class

FileBackend

Inherits Log::IOBackend < Log::Backend < Reference < Object

Constructors

new(file_name : String, mode : String = "a", *, formatter : Log::Formatter = Log::ShortFormat)
Source
new(file : File, *, formatter : Log::Formatter = Log::ShortFormat)
Source

Instance methods

close

Closes underlying resources used by this backend.

Source