Go to file
2018-04-12 19:12:03 +02:00
dist upgrade to latest standards 2018-04-12 18:02:48 +02:00
test upgrade to latest standards 2018-04-12 18:02:48 +02:00
ts upgrade to latest standards 2018-04-12 18:02:48 +02:00
.gitignore initial 2017-09-18 15:19:18 +02:00
.gitlab-ci.yml upgrade to latest standards 2018-04-12 18:02:48 +02:00
npmextra.json update access level 2018-04-12 18:28:58 +02:00
package.json 2.0.9 2018-04-12 18:29:02 +02:00
readme.md debugging is enabled 2018-04-12 19:12:03 +02:00
tslint.json upgrade to latest standards 2018-04-12 18:02:48 +02:00
yarn.lock upgrade to latest standards 2018-04-12 18:02:48 +02:00

smartdebug

debug the smart way

Availabililty

npm git git docs

Status for master

build status coverage report npm downloads per month bitHound Dependencies bitHound Code Known Vulnerabilities TypeScript node JavaScript Style Guide

Usage

Use TypeScript for best in class instellisense.

import * as smartdebug from '@pushrocks/smartdebug';

smartdebug.log('a cool message') // won't log
smartdebug.enableDebugging();
smartdebug.log('another cool message') // this message will log

if(smartdebug.debugEnabled) {
  console.log('Hi there!') // will also log since debugging is enabled
}

For further information read the linked docs at the top of this README.

licensed | © Lossless GmbH | By using this npm module you agree to our privacy policy

repo-footer