UNPKG

piuma-log

Version:

Piuma Logging Function

30 lines (22 loc) 519 B
### piuma-log Simple library for logging console with colors #### Coding 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();` #### Levels 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 #### Options - breadcam - epoch - level - color - area