0.0.3 • Published 9 years ago

ga-logger v0.0.3

Weekly downloads
-
License
MIT
Repository
bitbucket
Last release
9 years ago

#ga-logger

Wrapper for console.log and console.info that can be turned off and on

##Installation witm NPM

$ npm install --save ga-logger

##Instantiation and Usage

// Require
var logger = new (require('ga-logger'))({enabled: false});

logger.log( obj, "See?");
logger.info( "clicked!");

##Options

###enabled

type: boolean
default: true   

###log

type: boolean
default: true

###info

type: boolean
default: true
0.0.3

9 years ago

0.0.2

9 years ago