diff --git a/src/tools/create-logger-console.js b/src/tools/create-logger-console.js index 8fdc32f..00277e4 100644 --- a/src/tools/create-logger-console.js +++ b/src/tools/create-logger-console.js @@ -11,6 +11,8 @@ const createLoggerConsole = input => { input._zapier.promises.push(promise); next(); + + (console[data.log_type] || console.log)(chunk.toString()) }; const stdout = new stream.Writable({