summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSam Roberts <sam@strongloop.com>2014-07-19 14:34:41 -0700
committerFedor Indutny <fedor@indutny.com>2014-07-23 23:09:41 +0400
commit96b166f291ed2323a079146c484adef055008257 (patch)
tree4f1d9b5597d1e0655cd939506df99a1eafce73b2 /doc
parenteba7aae107cb3b482e13b0e88908436fe69a3109 (diff)
downloadandroid-node-v8-96b166f291ed2323a079146c484adef055008257.tar.gz
android-node-v8-96b166f291ed2323a079146c484adef055008257.tar.bz2
android-node-v8-96b166f291ed2323a079146c484adef055008257.zip
doc: console.trace takes a message format
Documentation claimed it accepted a single label argument, as time and timeEnd do, which was incorrect. Signed-off-by: Fedor Indutny <fedor@indutny.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/api/console.markdown5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/api/console.markdown b/doc/api/console.markdown
index e7807feeaf..76860e5597 100644
--- a/doc/api/console.markdown
+++ b/doc/api/console.markdown
@@ -62,9 +62,10 @@ Finish timer, record output. Example:
}
console.timeEnd('100-elements');
-## console.trace(label)
+## console.trace(message, [...])
-Print a stack trace to stderr of the current position.
+Print to stderr `'Trace :'`, followed by the formatted message and stack trace
+to the current position.
## console.assert(value, [message], [...])