indexzero/winston — Issue #55: TypeError: Cannot set property 'level' of null
Author: ypocat
Created: 2011-10-10 23:56:20+00:00
State: open

at:
https://github.com/indexzero/winston/blob/master/lib/winston/transports/loggly.js#L92
..when no metadata are passed.

fixed easily by chaning:
https://github.com/indexzero/winston/blob/master/lib/winston/transports/loggly.js#L90
from
`message = common.clone(meta);`

to
`message = common.clone(meta || {});`

Seems strange that no one has encountered this yet, so I'm attaching a runnable Gist: https://gist.github.com/1276908