Class: TemplateFormatter
A log formatter that outputs log entries based on a user-defined template.
Implements
Constructors
Constructor
new TemplateFormatter(
template):TemplateFormatter
Parameters
template
string
Returns
TemplateFormatter
Methods
format()
format(
entry):string
Parameters
entry
Returns
string