UNPKG

openapi-connect

Version:
18 lines 472 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const logging_1 = require("../middleware/logging"); const defaultOptions = { enable: true, ...logging_1.defaultOptions, handler: logging_1.errorLogging }; Object.freeze(defaultOptions); exports.default = (options) => { return options ? { ...defaultOptions, ...options } : defaultOptions; }; //# sourceMappingURL=errorLogging.js.map