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
Name | Type | Description |
---|---|---|
filename? | string | path to the file to write to, if not specified, logs are written to stdout |