From 2be63972b27817ee56ceaea45dc2d288584cde20 Mon Sep 17 00:00:00 2001 From: mmcwilliams Date: Sat, 23 Feb 2019 18:05:48 -0500 Subject: [PATCH] winston.Logger was replaced by winston.createLogger --- lib/log/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/log/index.js b/lib/log/index.js index 8527559..eaa2673 100644 --- a/lib/log/index.js +++ b/lib/log/index.js @@ -14,7 +14,7 @@ function createLog (label, filename = null) { if (filename !== null) { transports.push( new (winston.transports.File)({ label : label, filename : filename }) ) } - return new (winston.Logger)({ + return new (winston.createLogger)({ transports: transports }) }