diff --git a/lib/trace_events.js b/lib/trace_events.js index 41c4dbe741cd1d..2b154946d86504 100644 --- a/lib/trace_events.js +++ b/lib/trace_events.js @@ -19,7 +19,7 @@ if (!hasTracing || !ownsProcessState) const { CategorySet, getEnabledCategories } = internalBinding('trace_events'); const { customInspectSymbol } = require('internal/util'); -const { format } = require('util'); +const { format } = require('internal/util/inspect'); const enabledTracingObjects = new Set();