formatters library

Classes

JsonFormatter
JsonFormatter is used to encode Record to JSON format.
TextFormatter
TextFormatter is used to encode Record to formatted string.

Mixins

FormatterBase<R>
Base mixin for implementing Formatter.

Typedefs

Formatter = List<int> Function(Record)
Formatter is capable to format single Record entry.
LevelFormatter<R> = R Function(Level)
TimestampFormatter<R> = R Function(DateTime)