dev-logger-simple
v0.1.1
Published
Only log to the console when in development mode
Downloads
6
Maintainers
Readme
Dev Logger
Installation
yarn add dev-logger-simple
or npm install dev-logger-simple
Usage
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.