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.
  • Loading branch information
JacksonTian committed Apr 12, 2016
1 parent 5dafb43 commit d5ce698
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion doc/api/util.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ where `3245` is the process id. If it is not run with that
environment variable set, then it will not print anything.

You may separate multiple `NODE_DEBUG` environment variables with a
comma. For example, `NODE_DEBUG=fs,net,tls`.
comma. For example, `NODE_DEBUG=fs,net,tls`.

## util.deprecate(function, string)

Expand Down Expand Up @@ -551,6 +551,8 @@ util.isUndefined(null)

## util.log(string)

Stability: 0 - Deprecated: Use a third party userland module instead.

Output with timestamp on `stdout`.

require('util').log('Timestamped message.');
Expand Down

0 comments on commit d5ce698

Please sign in to comment.