logdna-winston
logdna-winston copied to clipboard
use info[Symbol(message)] instead of info.message
Why this transport is using info.message ? for example in default console transport https://github.com/winstonjs/winston/blob/master/lib/winston/transports/console.js#L54
Hey @vladimir-krasulya2! info[MESSAGE] (as seen in winstonjs) uses the MESSAGE primitive from triple-beam (basically a wrapper for "message") while we kept it simple and just use info.message