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

Method _maybeLog

test/async-hooks/init-hooks.js:221–226  ·  view source on GitHub ↗
(uid, type, name)

Source from the content-addressed store, hash-verified

219 }
220
221 _maybeLog(uid, type, name) {
222 if (this._logid &&
223 (type == null || this._logtype == null || this._logtype === type)) {
224 print(`${this._logid}.${name}.uid-${uid}`);
225 }
226 }
227}
228
229exports = module.exports = function initHooks({

Callers 5

_initMethod · 0.95
_beforeMethod · 0.95
_afterMethod · 0.95
_destroyMethod · 0.95
_promiseResolveMethod · 0.95

Calls 1

printFunction · 0.50

Tested by

no test coverage detected