@zedtech/zedkit-nest
Ship request logs without leaking credentials
@zedtech/zedkit-nest — beta
beta
At a glance
- Who: API developers who log requests but must never leak auth headers or cookies.
- What: Request logging with auth headers and cookies redacted by default.
- Use when: Whenever request logs leave the process (files, collectors, consoles).
- Avoid when: For full-fidelity debug of auth flows — reproduce locally with redaction off instead.
- See also: Bootstrap a Nest app, Redact secrets before logging
Install
pnpm add @zedtech/zedkit-nestLatest: 0.1.2 (via changesets).
Example
import { createNestApp } from "@zedtech/zedkit-nest";
const app = await createNestApp({
module: AppModule,
logger: { level: "info" }, // default: auth header + cookies redacted
});Wraps: nestjs-pino