UNPKG

@corux/ask-extensions

Version:

Extensions to improve development with Alexa Skills Kit SDK

17 lines 575 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var LogInterceptor = /** @class */ (function () { function LogInterceptor() { } LogInterceptor.prototype.process = function (handlerInput, response) { if (!!response) { console.log("Response: " + JSON.stringify(response)); } else { console.log("Request: " + JSON.stringify(handlerInput.requestEnvelope)); } }; return LogInterceptor; }()); exports.LogInterceptor = LogInterceptor; //# sourceMappingURL=LogInterceptor.js.map