Comparing version 0.2.0 to 0.2.1
{ | ||
"name": "depugger", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "small debugging utility", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -50,1 +50,17 @@ # node-depugger | ||
```` | ||
### depugger.child(childName) | ||
Creates a child instance. The name of the parent's debugger will be concatenated with the childDebugger's name: | ||
````javascript | ||
var depugger = require('depugger'); | ||
var debug = depugger({debug: true, name: 'fooDebugger'}); | ||
var childDebug = debug.child('child'); | ||
childDebug('foo'); | ||
//output to console: | ||
//[fooDebugger.child] foo | ||
```` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9838
65