apitally
Version:
Simple API monitoring & analytics for REST APIs built with Express, Fastify, NestJS, AdonisJS, Hono, H3, Elysia, Hapi, and Koa.
41 lines • 1.62 kB
JavaScript
;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var loggers_exports = {};
__export(loggers_exports, {
handleHapiRequestEvent: () => import_hapi.handleHapiRequestEvent,
patchConsole: () => import_console.patchConsole,
patchNestLogger: () => import_nestjs.patchNestLogger,
patchPinoLogger: () => import_pino.patchPinoLogger,
patchWinston: () => import_winston.patchWinston
});
module.exports = __toCommonJS(loggers_exports);
var import_console = require("./console.js");
var import_hapi = require("./hapi.js");
var import_nestjs = require("./nestjs.js");
var import_pino = require("./pino.js");
var import_winston = require("./winston.js");
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
handleHapiRequestEvent,
patchConsole,
patchNestLogger,
patchPinoLogger,
patchWinston
});
//# sourceMappingURL=index.cjs.map