19 lines
662 B
Markdown
19 lines
662 B
Markdown
# smartdebug
|
|
works with gulp, but does nothing. Use it to bootstrap your own gulp plugin with TypeScript, Travis and npm.
|
|
|
|
### Buildstatus/Dependencies
|
|
[![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)
|
|
|
|
### Usage
|
|
This plugin is thought for easy debug logging.
|
|
|
|
```javascript
|
|
var smartDebug = require("smartdebug");
|
|
|
|
smartDebug.log("This message is not shown");
|
|
smartDebug.activate(true);
|
|
smartDebug.log("This debug message is shown");
|
|
```
|
|
|