2.0.11 • Published 10 months ago

@push.rocks/smartdebug v2.0.11

Weekly downloads
-
License
MIT
Repository
-
Last release
10 months ago

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

2.0.11

10 months ago