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 26, 2016
1 parent 3050795 commit fa74805
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/api/util.md
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 fa74805

Please sign in to comment.