MCPcopy Create free account
hub / github.com/ehmicky/log-process-errors / stopProcessLogging

Function stopProcessLogging

src/helpers/exit.test.js:22–25  ·  view source on GitHub ↗
(eventName, stopLogging, processHandler)

Source from the content-addressed store, hash-verified

20}
21
22const stopProcessLogging = (eventName, stopLogging, processHandler) => {
23 stopLogging()
24 unsetProcessEvent(eventName, processHandler)
25}
26
27// Start logging and stub `process.exit()` and `setTimeout()`
28export const startClockLogging = (opts) => {

Callers

nothing calls this directly

Calls 1

unsetProcessEventFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…