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

Can the level be an object instead of calling the API method? #201

Open
guyellis opened this issue Dec 12, 2014 · 2 comments
Open

Can the level be an object instead of calling the API method? #201

guyellis opened this issue Dec 12, 2014 · 2 comments

Comments

@guyellis
Copy link

Instead of calling log.info(msg) or log.debug(msg) is there a way to call log.log(msg, {level: 'info'}) etc?

@trentm
Copy link
Owner

trentm commented Dec 12, 2014

Not currently, but I think that is totally reasonable.

@jbcpollak
Copy link

I'd like this feature too. Or an alternative syntax:

log.log(level, object, message)

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

No branches or pull requests

3 participants