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

fix: metadata is pojo now

Open witty123 opened this issue 5 years ago • 1 comments

After recent update to winston3, winston-graylog2 started sending [object Object] string in metadata.

This PR helps to resolve that error by extracting the values out of the Javascript object and then merging it with staticMeta.

witty123 avatar Jun 15 '19 14:06 witty123

@schfkt Please review as per your convenience. Thanks.

witty123 avatar Jun 15 '19 14:06 witty123