summaryrefslogtreecommitdiff
path: root/doc/api/console.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api/console.md')
-rw-r--r--doc/api/console.md7
1 files changed, 3 insertions, 4 deletions
diff --git a/doc/api/console.md b/doc/api/console.md
index d942104365..6dac2a8a5e 100644
--- a/doc/api/console.md
+++ b/doc/api/console.md
@@ -81,10 +81,9 @@ const { Console } = console;
* `stdout` {Writable}
* `stderr` {Writable}
-Creates a new `Console` by passing one or two writable stream instances.
-`stdout` is a writable stream to print log or info output. `stderr`
-is used for warning or error output. If `stderr` is not passed, warning and error
-output will be sent to `stdout`.
+Creates a new `Console` with one or two writable stream instances. `stdout` is a
+writable stream to print log or info output. `stderr` is used for warning or
+error output. If `stderr` is not provided, `stdout` is used for `stderr`.
```js
const output = fs.createWriteStream('./stdout.log');