From: Sam Roberts Date: Sat, 19 Jul 2014 21:34:41 +0000 (-0700) Subject: doc: console.trace takes a message format X-Git-Tag: v0.10.30~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=96b166f291ed2323a079146c484adef055008257;p=platform%2Fupstream%2Fnodejs.git 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 --- diff --git a/doc/api/console.markdown b/doc/api/console.markdown index e7807fe..76860e5 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], [...])