Blyp Docs

Integrations

Most Blyp integrations are server-side adapters, but Expo is a client/mobile transport. Together they cover:

  • create or expose a BlypLogger
  • attach logging to the framework or runtime in a native way
  • emit HTTP lifecycle logs when the platform has a request lifecycle
  • optionally ingest or sync client logs to your backend

Integration map

FrameworkImport pathMain APIWhere the logger is exposed
Elysiablyp-js/elysiacreateLogger()ctx.log
Expoblyp-js/expocreateExpoLogger()returned logger instance in the Expo app
Honoblyp-js/honocreateLogger()context.get("blypLog")
Expressblyp-js/expresscreateLogger()req.blypLog
Fastifyblyp-js/fastifycreateLogger()request.blypLog
NestJSblyp-js/nestjscreateLogger() + BlypModule.forRoot()req.blypLog and root logger
Next.js App Routerblyp-js/nextjscreateLogger()withLogger(..., { log })
TanStack Startblyp-js/tanstack-startcreateLogger()context.blypLog
SvelteKitblyp-js/sveltekitcreateLogger()event.locals.blypLog
Cloudflare Workersblyp-js/workersinitWorkersLogger() + createWorkersLogger()request-scoped logger returned per request

Shared server-adapter config shape

All server adapters accept the same core options:

{
  level?: string;
  pretty?: boolean;
  logDir?: string;
  file?: LogFileConfig;
  autoLogging?: boolean | { ignore?: (ctx) => boolean };
  customProps?: (ctx) => Record<string, unknown>;
  logErrors?: boolean;
  ignorePaths?: string[];
  clientLogging?: boolean | {
    path?: string;
    validate?: (ctx, payload) => boolean | Promise<boolean>;
    enrich?: (ctx, payload) => Record<string, unknown> | Promise<Record<string, unknown>>;
  };
}

Client ingestion behavior

  • Default ingestion path: /inngest
  • When client logging is enabled, Blyp automatically excludes the ingestion path from normal HTTP request logging
  • Some adapters auto-register the endpoint for you; others return a handler you mount manually
  • If you mount a handler on the wrong path, adapters like Next.js, SvelteKit, and TanStack Start return a 500 mismatch response
  • Expo is different: it sends logs directly to an absolute backend URL and does not register a local ingestion handler

Pick a framework page below for the exact wiring:

On this page

No Headings