pretty-web-logger
v1.0.7
Published
Lib with usefull console logs (with colors for chrome/safari/firefox browsers)
Downloads
52
Maintainers
Readme
Pretty Web Logger colored console logs for everyone (usable with chrome, firefox and safari)
Install
npm install pretty-web-logger
When to use
You can use it for debugging stage if you don't like/know how to use debugger or you're having trouble with multiple console logs that looks similar
Methods
Each method has 2 parameters (except the wrap method which takes only first argument): message (message between the blocks) and optional block message (message on the block with the background)
- .log()
- .error()
- .warning()
- .info()
- .wrap()
How to use
const logger = require('pretty-web-logger');
logger.log('test log message');