dev-logger-simple

0.1.1 • Public • Published

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.

Suggestions are welcome

Package Sidebar

Install

npm i dev-logger-simple

Weekly Downloads

1

Version

0.1.1

License

MIT

Unpacked Size

2.88 kB

Total Files

5

Last publish

Collaborators

  • kenshinman