We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb09959 commit 18d6dabCopy full SHA for 18d6dab
doc/api/console.md
@@ -81,10 +81,9 @@ const { Console } = console;
81
* `stdout` {Writable}
82
* `stderr` {Writable}
83
84
-Creates a new `Console` by passing one or two writable stream instances.
85
-`stdout` is a writable stream to print log or info output. `stderr`
86
-is used for warning or error output. If `stderr` is not passed, warning and error
87
-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`.
88
89
```js
90
const output = fs.createWriteStream('./stdout.log');
0 commit comments