-
Notifications
You must be signed in to change notification settings - Fork 30k
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: doc-only deprecation for util.log() #6161
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,7 +49,7 @@ where `3245` is the process id. If it is not run with that | |
environment variable set, then it will not print anything. | ||
|
||
You may separate multiple `NODE_DEBUG` environment variables with a | ||
comma. For example, `NODE_DEBUG=fs,net,tls`. | ||
comma. For example, `NODE_DEBUG=fs,net,tls`. | ||
|
||
## util.deprecate(function, string) | ||
|
||
|
@@ -551,6 +551,8 @@ util.isUndefined(null) | |
|
||
## util.log(string) | ||
|
||
Stability: 0 - Deprecated: Use a third party userland module instead. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
|
||
Output with timestamp on `stdout`. | ||
|
||
require('util').log('Timestamped message.'); | ||
|
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.
Unrelated change and it is possibly accepted by many.