diff options
Diffstat (limited to 'doc/api/tracing.md')
-rw-r--r-- | doc/api/tracing.md | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/api/tracing.md b/doc/api/tracing.md index 0b46abf81b1..f83e808dc89 100644 --- a/doc/api/tracing.md +++ b/doc/api/tracing.md @@ -76,12 +76,12 @@ unlike `process.hrtime()` which returns nanoseconds. ## The `trace_events` module <!-- YAML -added: REPLACEME +added: v10.0.0 --> ### `Tracing` object <!-- YAML -added: REPLACEME +added: v10.0.0 --> The `Tracing` object is used to enable or disable tracing for sets of @@ -95,7 +95,7 @@ set of enabled trace event categories. #### `tracing.categories` <!-- YAML -added: REPLACEME +added: v10.0.0 --> * {string} @@ -105,7 +105,7 @@ A comma-separated list of the trace event categories covered by this #### `tracing.disable()` <!-- YAML -added: REPLACEME +added: v10.0.0 --> Disables this `Tracing` object. @@ -131,7 +131,7 @@ console.log(trace_events.getEnabledCategories()); #### `tracing.enable()` <!-- YAML -added: REPLACEME +added: v10.0.0 --> Enables this `Tracing` object for the set of categories covered by the @@ -139,14 +139,14 @@ Enables this `Tracing` object for the set of categories covered by the #### `tracing.enabled` <!-- YAML -added: REPLACEME +added: v10.0.0 --> * {boolean} `true` only if the `Tracing` object has been enabled. ### `trace_events.createTracing(options)` <!-- YAML -added: REPLACEME +added: v10.0.0 --> * `options` {Object} @@ -168,7 +168,7 @@ tracing.disable(); ### `trace_events.getEnabledCategories()` <!-- YAML -added: REPLACEME +added: v10.0.0 --> * Returns: {string} |