1.0.0 • Published 6 years ago
@ivandev/console-color-logging v1.0.0
@ivanDev/console-color-logging : Logging with colors
Logging is a great to figure out whats going on in your code, adding colors is just another helpful layer to organizing/understanding what's going on.
Install
npm install color.logger
Usage
var logger = require("./color.logger");
const errorLog = logger( 'error');
const infoLog = logger( 'info');
const successLog =logger( 'success');
const priorityLog = logger( 'priority');
errorLog("Errors looks like this");
infoLog("Info looks like this");
successLog("Success looks like this");
priorityLog("Priority looks like this")
1.0.0
6 years ago