Skip to content

Commit

Permalink
doc: doc-only deprecation for util.log()
Browse files Browse the repository at this point in the history
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 25, 2016
1 parent 1c84579 commit 236b7e8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/api/util.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.');
Expand Down

0 comments on commit 236b7e8

Please sign in to comment.