1.0.0 • Published 9 years ago
kb-loggertool v1.0.0
Utility-Tool
Logging utility tool
#installation
$ npm install kb-loggertool#Usage enable debugging
DEBUG=truedisable debugging
DEBUG=false#Require
const logging = require('kb-loggertool');#How to use
Throughout your code use
console.log();Example
debug.debugSuccess('successful');
debug.debugError('error');#Colors
This tool uses the colors package if you want to change the colors simply change the colors by editing the code to whatever color you choose:
color.setTheme({
success: 'green',
error: 'red',
});1.0.0
9 years ago