MCPcopy Create free account
hub / github.com/nodejs/node / [customInspectSymbol]

Method [customInspectSymbol]

lib/trace_events.js:71–80  ·  view source on GitHub ↗
(depth, opts)

Source from the content-addressed store, hash-verified

69 }
70
71 [customInspectSymbol](depth, opts) {
72 if (typeof depth === 'number' && depth < 0)
73 return this;
74
75 const obj = {
76 enabled: this.enabled,
77 categories: this.categories,
78 };
79 return `Tracing ${format(obj)}`;
80 }
81}
82
83function createTracing(options) {

Callers

nothing calls this directly

Calls 1

formatFunction · 0.50

Tested by

no test coverage detected