smartdebug/README.md

19 lines
662 B
Markdown
Raw Permalink Normal View History

2015-11-17 01:29:18 +00:00
# smartdebug
2015-11-15 19:35:13 +00:00
works with gulp, but does nothing. Use it to bootstrap your own gulp plugin with TypeScript, Travis and npm.
### Buildstatus/Dependencies
2015-11-17 01:29:18 +00:00
[![Build Status](https://travis-ci.org/pushrocks/smartdebug.svg?branch=master)](https://travis-ci.org/pushrocks/smartdebug)
[![devDependency Status](https://david-dm.org/pushrocks/smartdebug/dev-status.svg)](https://david-dm.org/pushrocks/smartdebug#info=devDependencies)
2015-11-15 19:35:13 +00:00
### Usage
2015-11-17 01:29:18 +00:00
This plugin is thought for easy debug logging.
2015-11-15 19:35:13 +00:00
2015-11-17 01:29:18 +00:00
```javascript
var smartDebug = require("smartdebug");
2015-11-15 19:35:13 +00:00
2015-11-17 01:29:18 +00:00
smartDebug.log("This message is not shown");
smartDebug.activate(true);
smartDebug.log("This debug message is shown");
2015-11-15 19:35:13 +00:00
```