yarn add dev-logger-simple
or npm install dev-logger-simple
var devLogger = require('dev-logger-simple');
devLogger("this output", "that output")
//output
//arg 1 => "this output"
//arg 2 => "that output"
Simply way to make sure your console.log
statements are only logged in development
environment.
Takes single or multiple parameters and they are logged in order of appearance.
PS: My first NPM package too.