From 8515019bedf976e787273ede775474f89a867e12 Mon Sep 17 00:00:00 2001 From: Valerian Saliou Date: Mon, 6 Jan 2020 19:28:58 +0100 Subject: [PATCH] Update winston-loggly.js --- lib/winston-loggly.js | 6 ++++++ 1 file changed, 6 insertions(+) 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; //