diff --git a/lib/winston-loggly.js b/lib/winston-loggly.js index 5ebc90a..55ba517 100755 --- a/lib/winston-loggly.js +++ b/lib/winston-loggly.js @@ -129,6 +129,12 @@ Loggly.prototype.log = function (meta, callback) { message.message = ('' + message.message).replace(code, ''); } + const splats = message[Symbol.for("splat")]; + + if (splats && splats.length > 0) { + message.details = splats; + } + const self = this; //