Skip to content
Permalink
Browse files

doc: doc-only deprecation for util.log()

There are more powerful loggers in user land like `debug`, soft
deprecate it.

PR-URL: #6161
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: Evan Lucas <evanlucas@me.com>
  • Loading branch information...
JacksonTian authored and jasnell committed Apr 12, 2016
1 parent 1c84579 commit 236b7e8dd160be9215cc581b5da1e3ebff67c265
Showing with 2 additions and 0 deletions.
  1. +2 −0 doc/api/util.md
@@ -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.');

0 comments on commit 236b7e8

Please sign in to comment.
You can’t perform that action at this time.