Extremely simple coloured logging using RGB values and saverity levels.
To deploy this project run
npm i simple-colourised-logger
Import:
import { addColor, addLogLevel, log } from 'simple-colourised-logger'
addColor("red", 255, 0, 0)
addLogLevel("warning", null, "red")
log("warning", "Look, the background color can also be changed :)");
Require:
var log = require('simple-colourised-logger');
log.addColor("red", 255, 0, 0)
log.addLogLevel("warning", null, "red")
log.log("warning", "Look, the background color can also be changed :)");