diff options
author | Zeke Sikelianos <zeke@sikelianos.com> | 2020-04-23 21:01:52 +0300 |
---|---|---|
committer | Shelley Vohr <shelley.vohr@gmail.com> | 2020-06-30 19:33:50 +0300 |
commit | 3a53c2ff2686dd30d44e9f077b08bbfe24d1c1cd (patch) | |
tree | 75750dbbcc09c0e3e3a643ada21c36cc80af704b /doc/api/tracing.md | |
parent | 0e7d26c63b6d55452f6454cfdbdbd3097163511c (diff) |
doc: update ```txt ```fandamental and ```raw code blocks
These are changed to either ```text or ```console.
PR-URL: https://github.com/nodejs/node/pull/33028
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'doc/api/tracing.md')
-rw-r--r-- | doc/api/tracing.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/api/tracing.md b/doc/api/tracing.md index 596f624be54..4a684be4b19 100644 --- a/doc/api/tracing.md +++ b/doc/api/tracing.md @@ -36,7 +36,7 @@ The available categories are: By default the `node`, `node.async_hooks`, and `v8` categories are enabled. -```txt +```bash node --trace-event-categories v8,node,node.async_hooks server.js ``` @@ -45,10 +45,10 @@ flag to enable trace events. This requirement has been removed. However, the `--trace-events-enabled` flag *may* still be used and will enable the `node`, `node.async_hooks`, and `v8` trace event categories by default. -```txt +```bash node --trace-events-enabled -// is equivalent to +# is equivalent to node --trace-event-categories v8,node,node.async_hooks ``` @@ -74,7 +74,7 @@ The logging file is by default called `node_trace.${rotation}.log`, where be specified with `--trace-event-file-pattern` that accepts a template string that supports `${rotation}` and `${pid}`: -```txt +```bash node --trace-event-categories v8 --trace-event-file-pattern '${pid}-${rotation}.log' server.js ``` |