package
Wrapper of Pino
npm install @climba03003/pinoGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
Estimated unpacked size across 16 packages.
6.3 MB
Includes dependencies.
3 direct · 2 outdated
This module is a wrapper for pino which provide the ability of enable logger like debug
$ npm install @climba03003/pinoimport pino from "@climba03003/pino";
const logger = pino("foo");
logger.info("hello world");const pino = require("@climba03003/pino").default;
const logger = pino("foo");
logger.info("hello world");This module default to log level to silent which disable logging even if you
specify DEBUG option. You must set the LOG_LEVEL higher than silent inorder
to display log.
export LOG_LEVEL=info
export DEBUG=foo