flatiron/winston — pull request #192 by olalonde (2012-10-23 22:13:48+00:00)
Title: Added ability to pass string like objects to the File transport

Right now when doing:

logger.error(new Error('some text...'));

The file transport will log an empty message. This commit calls the .toString() method on all messages in case they are not strings.