module Crylog::Formatters::Formattable

Overview

Represents handlers that can have custom formatters.

Direct including types

Defined in:

formatters/formattable.cr

Instance Method Summary

Instance Method Detail

Returns the Crylog::Formatters::LogFormatter defined on self, or #default_formatter if none was set.


[View source]
def formatter=(formatter : Crylog::Formatters::LogFormatters | Nil) #

The formatter to use, defaults to Crylog::Formatters::LineFormatter.


[View source]