winston-graylog2
winston-graylog2 copied to clipboard
fix: metadata is pojo now
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.
@schfkt Please review as per your convenience. Thanks.