Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for multiple arguments #6

Open
balupton opened this issue Sep 6, 2011 · 1 comment
Open

Add support for multiple arguments #6

balupton opened this issue Sep 6, 2011 · 1 comment

Comments

@balupton
Copy link

balupton commented Sep 6, 2011

/**
 * Module dependencies.
 */

var Log = require('../lib/log')
  , log = new Log('notice');

log.emergency('a emergency %s', 'message', {a:'b'});

should output:

[Tue, 06 Sep 2011 03:21:10 GMT] EMERGENCY a emergency  message { a: 'b' }

as console.log does.

@tj
Copy link
Owner

tj commented Sep 6, 2011

sounds fine to me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants