baray
Why is it called 'baray'? cause 'baray' is a verb in kannada (my native language) which means 'to write'
A minimalistic logger
Usage:
Install
npm i baray
Require it
const Baray =
Initialize it like..
// Showing defaultsconst logger = appName: "NoName" console: true json: true color: false path: `/logs`// if 'color' is set to true (& 'console' is set to true), info, warn & error logs will appear in cyan, yellow & red colors respectively on the console
OR
const logger =
Use it like...
loggerloggerloggerlogger
OR like this...(with JSON content)
loggerloggerloggerlogger