indexzero/winston — Issue #56: string passed as meta is not recorded in Loggly via JSON transport
Author: ypocat
Created: 2011-10-11 16:21:05+00:00
State: open

When I use `winston.error('my error', 'some string');`, with Loggly transport configured with JSON input, only `'some string'` is recorded in Loggly logs, without the `'my error'` string.

I know this is probably because `'some string'` is not a JSON / Javascript object, but I would be cool if it got automatically turned into a simple one, e.g. `{ meta: 'some string' }`, so that Loggly accepts it.

The Console transport prints these as a single string though: `'my error some string'`.