@divine-lab/logger
v1.0.2
Published
Simple and flexible logging utility for Organization Internal Use. Opinionated but allows for customization. Provides color-coded log levels and optional timestamps by default and logs to console.
Readme
@divine-lab/logger
Simple and opinionated logging utility. Also servers as the First npm package by Divine lab 😄. For Internal Organizational Use only, please reach out to us if you would like to use this package.
Customizability
The logger can be customized for an entire node process.
Use the setPrinter function to set a global printer function.
The default printer uses console.log and also prints using colors.
import logger from "@divine-lab/logger";
logger.log("Hello World");