clean-jsdoc-theme TypeDoc APIv0.0.0

createFormatter

Source: index.ts:147

Build a Formatter that pads the level name to a fixed width.

createFormatter(width: number): Formatter

Parameters

  • width (number) — Column width for the level label.

Returns

createFormatter(template: string): Formatter

Build a Formatter from a template string.

Parameters

  • template (string) — A template containing {level} and {message} tokens.

Returns