(retval)
| 319 | beginFollow(tid, scope); |
| 320 | }, |
| 321 | onLeave(retval) { |
| 322 | const tid = Process.getCurrentThreadId(); |
| 323 | const st = endFollow(tid); |
| 324 | const cnt = st ? ` events=${st.count}${st.dropped ? ` dropped=${st.dropped}` : ""}` : ""; |
| 325 | const ret = CONFIG.logRet ? ` ret=${retval}` : ""; |
| 326 | console.log(`${C.red}[call-]${C.reset} ${label} ${C.dim}#${tid}${ret}${cnt}${C.reset}`); |
| 327 | }, |
| 328 | }); |
| 329 | hooks.push(h); |
| 330 | installed++; |
nothing calls this directly
no test coverage detected