Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
187
function
safeTraceLabel(label) {
188
return
label.replaceAll(
'\\'
,
'\\\\'
).replaceAll(
'"'
,
'\\"'
);
189
}
190
191
/**
192
* @typedef {(label: string, timeFormatted: string, args?: any[]) => void} LogImpl
Callers
3
time
Function · 0.85
timeEnd
Function · 0.85
timeLog
Function · 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…