Skip to content

Commit c3d256f

Browse files
committed
Modify example
1 parent 10bccb6 commit c3d256f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,9 @@ Logging can be stopped by firing the function returned by `logProcessErrors()`
185185
import/no-unresolved, unicorn/filename-case, strict, no-undef -->
186186

187187
```js
188-
const stopLogging = logProcessErrors()
188+
const logProcessErrors = require('log-process-errors/custom')
189+
190+
const stopLogging = logProcessErrors(options)
191+
189192
stopLogging()
190193
```

0 commit comments

Comments
 (0)