0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/doc/api
Rich Trott c40229a9b8 console: implement minimal console.group()
Node.js exposes `console.group()` and `console.groupEnd()` via the
inspector. These functions have no apparent effect when called from
Node.js without the inspector. We cannot easily hide them when Node.js
is started without the inspector because we support opening the
inspector during runtime via `inspector.port()`.

Implement a minimal `console.group()`/`console.groupEnd()`. More
sophisticated implementations are possible, but they can be done in
userland and/or features can be added to this at a later time.

`console.groupCollapsed()` is implemented as an alias for
`console.group()`.

PR-URL: https://github.com/nodejs/node/pull/14910
Fixes: https://github.com/nodejs/node/issues/1716
Ref: https://github.com/nodejs/node/issues/12675
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Timothy Gu <timothygu99@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
2017-08-23 18:46:14 -07:00
..
_toc.md perf_hooks: implementation of the perf timing API 2017-08-23 16:00:09 -07:00
addons.md doc: fix order of AtExit callbacks in addons.md 2017-08-10 07:24:52 +02:00
all.md perf_hooks: implementation of the perf timing API 2017-08-23 16:00:09 -07:00
assert.md tools: replace assert-throw-arguments custom lint 2017-08-02 09:27:35 -07:00
async_hooks.md doc: fix link in async_hooks.md 2017-06-26 22:41:01 +03:00
buffer.md doc: expanded description of buffer.slice 2017-08-12 16:16:46 -04:00
child_process.md doc: rephrase text of child_process.execSync() 2017-08-23 10:21:02 -07:00
cli.md doc: fix typo in cli.md 2017-08-16 18:14:13 +02:00
cluster.md 2017-07-19, Version 8.2.0 (Current) 2017-07-19 18:40:42 -04:00
console.md console: implement minimal console.group() 2017-08-23 18:46:14 -07:00
crypto.md crypto: warn if counter mode used in createCipher 2017-08-22 21:23:38 +09:00
debugger.md doc: match debugger output & instructions to master behavior 2017-07-08 09:25:16 -07:00
deprecations.md repl: deprecate REPLServer.parseREPLKeyword 2017-08-02 14:39:06 -04:00
dgram.md dgram: add custom lookup function in sockets 2017-08-02 20:32:51 -04:00
dns.md dns: add verbatim option to dns.lookup() 2017-08-23 14:53:47 -07:00
documentation.md doc: update experimental status to reflect use 2017-07-24 09:55:13 -07:00
domain.md
errors.md errors: migrate _http_outgoing 2017-08-14 17:19:19 -04:00
events.md
fs.md doc,fs: rename defaultEncoding option to encoding 2017-08-20 18:03:51 -04:00
globals.md doc: move module-specific "globals" to modules.md 2017-06-30 18:41:56 +02:00
http2.md doc: update http2.md example code 2017-08-22 17:45:29 -04:00
http.md doc: fix http api document 2017-08-18 17:12:04 +03:00
https.md https: make opts optional & immutable when create 2017-06-14 15:14:34 -04:00
index.md
inspector.md doc: fix some broken references 2017-07-02 21:44:46 +02:00
intl.md doc: fix docs style in intl.md 2017-08-13 20:18:50 +02:00
modules.md doc: add docs for module.paths 2017-07-25 11:30:15 -04:00
n-api.md doc: fix doc for napi_get_value_string_utf8 2017-08-22 17:39:31 -04:00
net.md doc: beautify net.md formats 2017-08-23 09:10:05 -07:00
os.md doc: link to correct "OS Constants" heading in docs 2017-08-23 08:07:31 -07:00
path.md doc: fix mistake in path.relative 2017-06-28 14:25:37 +02:00
perf_hooks.md perf_hooks: implementation of the perf timing API 2017-08-23 16:00:09 -07:00
process.md perf_hooks: implementation of the perf timing API 2017-08-23 16:00:09 -07:00
punycode.md
querystring.md tools: update: eslint-plugin-markdown@1.0.0-beta.7 2017-07-05 06:51:10 +03:00
readline.md readline: remove max limit of crlfDelay 2017-07-31 23:03:18 +02:00
repl.md repl: deprecate REPLServer.parseREPLKeyword 2017-08-02 14:39:06 -04:00
stream.md doc: remove you and fixup note in stream.md 2017-08-21 11:17:50 -07:00
string_decoder.md
synopsis.md
timers.md
tls.md 2017-08-15, Version 8.4.0 (Current) 2017-08-15 15:05:22 -05:00
tracing.md
tty.md doc: note 'resize' event conditions on Windows 2017-07-09 17:59:11 -04:00
url.md doc, url: add changelog metadata for url.format 2017-08-01 11:46:19 +08:00
util.md 2017-08-15, Version 8.4.0 (Current) 2017-08-15 15:05:22 -05:00
v8.md doc: fix some links 2017-07-23 22:10:59 +03:00
vm.md doc: fix minor issues reported in #9538 2017-06-14 00:18:59 +02:00
zlib.md doc: fix minor issues reported in #9538 2017-06-14 00:18:59 +02:00