MCPcopy Index your code
hub / github.com/nodejs/node / safeTraceLabel

Function safeTraceLabel

lib/internal/util/debuglog.js:187–189  ·  view source on GitHub ↗
(label)

Source from the content-addressed store, hash-verified

185}
186
187function safeTraceLabel(label) {
188 return label.replaceAll('\\', '\\\\').replaceAll('"', '\\"');
189}
190
191/**
192 * @typedef {(label: string, timeFormatted: string, args?: any[]) => void} LogImpl

Callers 3

timeFunction · 0.85
timeEndFunction · 0.85
timeLogFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…