openapi-connect
Version:
Base for microservices around OpenAPI/Swagger
18 lines • 472 B
JavaScript
;
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