mirror of
https://github.com/nodejs/node.git
synced 2026-11-26 21:58:26 -05:00
doc: doc-only deprecation for util.log()
There are more powerful loggers in user land like `debug`, soft deprecate it. PR-URL: https://github.com/nodejs/node/pull/6161 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Brian White <mscdex@mscdex.net> Reviewed-By: Evan Lucas <evanlucas@me.com>
This commit is contained in:
1 parent
30507951d9
commit
fa74805bac
1 file changed
+2
@@ -551,6 +551,8 @@ util.isUndefined(null)
|
||||
|
||||
## util.log(string)
|
||||
|
||||
Stability: 0 - Deprecated: Use a third party module instead.
|
||||
|
||||
Output with timestamp on `stdout`.
|
||||
|
||||
require('util').log('Timestamped message.');
|
||||
|
||||
Reference in new issue
Block a user