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:
Jackson Tian 2016-04-12 14:01:31 +08:00 committed by James M Snell
parent 1c84579031
commit 236b7e8dd1

View File

@ -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.');