uber/logtron — pull request #7 by sh1mmer (2014-11-18 06:29:49+00:00)
Title: Check callback is a functionbefore calling

If someone calls `logger.info('message', foo, bar, baz);` or whatever that doesn't match `log('string', obj, cb)` it tries to call cb against the 3rd parameter regardless of if it's a function.

We could consider doing stronger validation on the call site. I'd like to find some way to avoid cascading logging errors.