jsonLogFormatter
jsonLogFormatter(
options?):Formatter<LogRecord>
Defined in: packages/app-logger/src/formatters/json-log-formatter.ts:18
Formatter<LogRecord> rendering newline-delimited JSON, one object per event
— built on serializeReportEvent, extended to also run options.error over
a LogRecord’s own error field (which the generic serializer only
special-cases on scope-end, not on data).
Parameters
Section titled “Parameters”options?
Section titled “options?”SerializeReportEventOptions
Returns
Section titled “Returns”Formatter<LogRecord>