createFormatter
Source: index.ts:147
Build a Formatter that pads the level name to a fixed width.
createFormatter(width: number): FormatterParameters
width(number) — Column width for the level label.
Returns
Formatter— A formatter.
createFormatter(template: string): FormatterBuild a Formatter from a template string.
Parameters
template(string) — A template containing{level}and{message}tokens.
Returns
Formatter— A formatter.