smartdebug/readme.md
2018-04-12 19:12:03 +02:00

2.4 KiB

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