0.0.4 • Published 9 months ago

mynth-logger-dup v0.0.4

Weekly downloads
-
License
-
Repository
github
Last release
9 months ago

mynth-logger

This repository stores configuration options for handling logs in Mynth microservices. The setupLogging function is publicly exposed and can be called in entrypoint scripts. This function overrides console.log statements.

For local development, install pino-pretty via npm install --save-dev pino-pretty. After calling setupLogging(), console.log calls will output colorful statements to the terminal.

For production builds, logs are output to stdout in JSON format that can be parsed and processed by Datadog.

0.0.4

9 months ago

0.0.2

9 months ago

0.0.1

9 months ago