Utility library to logging in console.
Use the following command to install:
pnpm add @maur025/core-logger
npm install @maur025/core-logger
yarn add @maur025/core-logger
Add the next variables in to .env:
LOG_PATH='silly'
LOG_PATH=logs
Level can be any value of RFC5424
const levels = {
error: 0,
warn: 1,
info: 2,
http: 3,
verbose: 4,
debug: 5,
silly: 6,
};