UNPKG

inngest

Version:

Official SDK for Inngest.com. Inngest is the reliability layer for modern applications. Inngest combines durable execution, events, and queues into a zero-infra platform with built-in observability.

18 lines (16 loc) 504 B
import { Logger } from "../middleware/logger.js"; //#region src/helpers/log.d.ts /** * Wraps a string-first logger (e.g. Winston) so it accepts Pino-style * object-first calls like `logger.info({ requestId: "abc" }, "message")` * * @example * const inngest = new Inngest({ * id: "my-app", * logger: wrapStringFirstLogger(winstonLogger), * }) */ declare function wrapStringFirstLogger(logger: Logger): Logger; //#endregion export { wrapStringFirstLogger }; //# sourceMappingURL=log.d.ts.map