lincoln-logs
v1.0.2
Published
Honest debugging.
Maintainers
Readme
lincoln-logs
A honest debugging tool.
Install
Install all 'lincoln-logs' as a dev-dependency
npm install lincoln-logs --save-devUsage
Create a log folder in your project with the file lincoln.log. This will be to save all your debug messages.
/logs/lincoln.logRequire the tool package.
const util = require('lincoln-logs');.debug
Call the method 'debug' that accepts an object with two keys 'msg', and 'info'. developer can add additional keys if needed but must configure in tool file
util.debug({msg: 'message', info: object })Run
lincoln-logs runs only when the Environmental Variable 'DEBUG' is on.
DEBUG=truevisit my app-store project to see it in action.
