Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TemplateStringMessageTemplate

Format a message using a lazily evaluated template string.

Hierarchy

  • TemplateStringMessageTemplate

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Readonly template

template: string

a template string. Backticks are not necessary.

Static Readonly DEFAULT_TEMPLATE

DEFAULT_TEMPLATE: "${ctx.data.fqn || ""}: ${ctx.message || ""}" = "${ctx.data.fqn || ""}: ${ctx.message || ""}"

Will render logger's fqn and the message.

Methods

format

Generated using TypeDoc