artcom / logger

A Winston logger which logs to JSON with ordered keys and error stack support.
MIT License
0 stars 0 forks source link

Logger

A Winston logger which logs to JSON with ordered keys and error stack support.

Usage

Install this library via npm:

npm install @artcom/logger

Use as follows:

const { createLogger } = require("@artcom/logger");
const logger = createLogger();

logger.info("Hello world!");

Additional options are supported: