piuma-log
Version:
Piuma Logging Function
30 lines (22 loc) • 519 B
Markdown
Simple library for logging console with colors
In your project folder do :
`npm install piuma-log`
In your main file use with :
`const ll = require('piuma-log')(options);`
For see default options :
`var def = ll.defaults();`
By default all message are printed in INFORMATION level, if first parameter is string and is one of this become :
- i = INFORMATION
- e = ERROR
- w = WARNING
- d = DEBUG
- v = VERBOSE
- breadcam
- epoch
- level
- color
- area