@substrate-system/debug 0.7.5 → 0.7.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/browser.d.ts +1 -1
- package/dist/browser.d.ts.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -156,7 +156,7 @@ NODE_ENV=development node ./my-script.js
|
|
|
156
156
|
```
|
|
157
157
|
|
|
158
158
|
##### Configure the environment value
|
|
159
|
-
Configure what `NODE_ENV` value will trigger logging by overriding the `
|
|
159
|
+
Configure what `NODE_ENV` value will trigger logging by overriding the `shouldLog` function:
|
|
160
160
|
```js
|
|
161
161
|
// in node only
|
|
162
162
|
import Debug from '@substrate-system/debug'
|
package/dist/browser.d.ts
CHANGED
package/dist/browser.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"browser.d.ts","sourceRoot":"","sources":["../src/browser.ts"],"names":[],"mappings":"AAyFA,UAAU,QAAQ;IACd,CAAC,GAAG,EAAC,MAAM,GAAE,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"browser.d.ts","sourceRoot":"","sources":["../src/browser.ts"],"names":[],"mappings":"AAyFA,UAAU,QAAQ;IACd,CAAC,GAAG,CAAC,EAAC,MAAM,GAAE,IAAI,CAAC;IACnB,SAAS,CAAC,EAAC,CAAC,GAAG,EAAC,MAAM,KAAG,OAAO,CAAC;CACpC;AAGD,QAAA,IAAI,WAAW,EAAC,QAAgD,CAAA;AA4ChE,OAAO,EAAE,WAAW,EAAE,CAAA;AACtB,eAAe,WAAW,CAAA"}
|