Node logger
npm install @pixeloven/node-logger> Pixel Oven node-logger.
See our website pixeloven-node-logger for more information or the issues associated with this package.
Using npm:
``sh`
npm install --save @pixeloven/node-logger
or using yarn:
`sh`
yarn add @pixeloven/node-logger
The primary function of this module is to act as a CLI logger. This logger consists of three log levels.
1. info - used for standard information and prints normally.warn
3. - used for warnings and highlights text in yellow.error
1. - Used for errors and highlights text in red.
`javascript
import { logger } from "@pixeloven/node-logger";
logger.info("Some stuff happened");
logger.warn("But not danger seems to be approaching");
logger.error("Welp I'm out!");
``
Each of these methods will print an appropriate icon to at the beginning of each line if the console supports it.