logdna-winston icon indicating copy to clipboard operation
logdna-winston copied to clipboard

use info[Symbol(message)] instead of info.message

Open vladimir-krasulya2 opened this issue 3 years ago • 1 comments

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

vladimir-krasulya2 avatar Mar 12 '21 08:03 vladimir-krasulya2

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

braxtonj avatar Apr 19 '21 20:04 braxtonj