JS API Reference

Module: utils/logger/jsonLogger

Table of contents

Functions

Functions

jsonLogger

jsonLogger(filename?): Logger

Create a logger that writes a JSON object for every log line.

Parameters

NameTypeDescription
filename?stringpath to the file to write to, if not specified, logs are written to stdout

Returns

Logger

Defined in

src/utils/logger/jsonLogger.ts:8