colorlogsplus
v0.0.2
Published
a custom log center!
Downloads
1
Maintainers
Readme
index.js
const log = require('colorlogsplus').Logger;
log.command("Command");
log.debug("Debug");
log.error("Error");
log.event("Event");
log.info("Info");
log.log("Log");
log.ready("Ready");
log.test("Test");
//with colors
// $rs/ Resets the color
// $bl/ Make the color black
// $sh/ Makes the dont shine out!
// $r/ Makes the color red
// $g/ Makes the color green
// $y/ Makes the color yellow
// $b/ Makes the color blue
// $m/ Makes the color magenta
// $c/ Makes the color cyan
// $w/ Makes the color white
// $un/ Make a line under the text!
log.command("$b/Command");
log.debug("$un/Debug");
log.error("$y/Error");
log.event("$r/Event");
log.info("$bl/Info");
log.log("$m/Log");
log.ready("$c/Ready");
log.test("$g/Test");
//more colors in one text
log.command("$b/Comm$y/and");
log.debug("$un/$b/Debug");
log.error("$y/Err$w/or");
log.event("$r/Eve$y/nt");
log.info("$bl/Inf$g/o");
log.log("$m/Lo$sh/g");
log.ready("$c/Re$r/ady");
log.test("$g/Te$m/st");
console output
https://github.com/theequaq/colorlogsplus/blob/master/output.JPG