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

Function shouldLog

test/fixtures/snapshot/typescript.js:2631–2633  ·  view source on GitHub ↗
(level)

Source from the content-addressed store, hash-verified

2629 }
2630 Debug.getTypeScriptVersion = getTypeScriptVersion;
2631 function shouldLog(level) {
2632 return Debug.currentLogLevel <= level;
2633 }
2634 Debug.shouldLog = shouldLog;
2635 function logMessage(level, s) {
2636 if (Debug.loggingHost && shouldLog(level)) {

Callers 1

logMessageFunction · 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…