-
Notifications
You must be signed in to change notification settings - Fork 29.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doc: document Console class #1388
Conversation
081f382
to
7f8f97c
Compare
Thanks @benjamingr updated by your review comments. |
The `console` object is a special instance of `Console` that the output is | ||
sent to stdout or stderr. | ||
|
||
For easily to use it, `console` is a global object, so you can use it directly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"For ease of use, console
is defined as a global object and can be used directly without require
."
Left some grammar corrections. |
7f8f97c
to
4477c57
Compare
Thanks @silverwind . |
|
||
Stability: 2 - Stable | ||
|
||
The module defines a `Console` class and exports a `console` object. | ||
|
||
The `console` object is a special instance of `Console` that the output is |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as below: "instance of Console
whose output"
Grammar should be fine once these two 'whose' cases are corrected. |
document Console class to tell user can use it.
4477c57
to
0926b8f
Compare
fixed. @silverwind thanks again. |
document Console class to tell user can use it. PR-URL: #1388 Fixes: #1359 Reviewed-By: Roman Reiss <[email protected]>
Thanks! Landed in 2bc3532 |
document Console class to tell user can use it.