kenperkins/winston-papertrail — pull request #15 by voodootikigod (2013-06-20 14:40:36+00:00)
Title: [URGENT] The 'meta' parameter in .log is provided by winston library as an empty object OR a full object, not as a "falsy" value when empty.

The current code set when used with the current revision of winston will produce an extra log entry in paper trail of just "info: {}" for every message sent. This is annoying and doubles your messages (which becomes costly). This fix checks to ensure that if the meta parameter object is empty it is handled as a falsy value instead of a truthy value.