dist | ||
test | ||
ts | ||
.gitignore | ||
.gitlab-ci.yml | ||
npmextra.json | ||
package.json | ||
readme.md |
smartdebug
debug the smart way
Availabililty
Status for master
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