Skip to content

Commit d5ce698

Browse files
committed
doc: doc-only deprecation for util.log()
There are more powerful loggers in user land like `debug`, soft deprecate it.
1 parent 5dafb43 commit d5ce698

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

doc/api/util.markdown

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ where `3245` is the process id. If it is not run with that
4949
environment variable set, then it will not print anything.
5050

5151
You may separate multiple `NODE_DEBUG` environment variables with a
52-
comma. For example, `NODE_DEBUG=fs,net,tls`.
52+
comma. For example, `NODE_DEBUG=fs,net,tls`.
5353

5454
## util.deprecate(function, string)
5555

@@ -551,6 +551,8 @@ util.isUndefined(null)
551551

552552
## util.log(string)
553553

554+
Stability: 0 - Deprecated: Use a third party userland module instead.
555+
554556
Output with timestamp on `stdout`.
555557

556558
require('util').log('Timestamped message.');

0 commit comments

Comments
 (0)