0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-30 07:27:22 +01:00
nodejs/doc
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
..
api console: implement minimal console.group() 2017-08-23 18:46:14 -07:00
api_assets doc: fix word wrapping for api stability boxes 2017-08-16 11:49:55 +02:00
changelogs 2017-08-15, Version 8.4.0 (Current) 2017-08-15 15:05:22 -05:00
guides http2: fix documentation nits 2017-08-04 12:56:10 -07:00
.eslintrc.yaml
full-white-stripe.jpg
node.1 src: mention that node options are space-separated 2017-08-13 21:21:39 +03:00
onboarding-extras.md
onboarding.md
osx_installer_logo.png
releases.md tools: checkout for unassigned DEP00XX codes 2017-08-16 00:04:03 -07:00
STYLE_GUIDE.md
template.html
thin-white-stripe.jpg