IIUC, console.log and console.dir do exactly the same thing if only
one argument is passed to them. They print the result of passing that
argument to util.inspect to stdout.

Looking that the source for async.log and async.dir, it seems that
they both pass the return values from a given asynchronous function to
a console function. The only difference is whether they pass them to
console.log or console.dir. But since only one value is passed, they
do exactly the same thing.

Is there a difference that I'm missing?

-- 
R. Mark Volkmann
Object Computing, Inc.

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to