A log formatter that outputs log entries in JSON format.
Implements
Constructors
Constructor
new JsonFormatter(): JsonFormatter
Returns
JsonFormatter
Methods
format(entry): string
Parameters
entry
LogEntry
Returns
string
Implementation of
LogFormatter.format