Setu-TS
    Preparing search index...

    Type Alias PinoFactory

    PinoFactory: (
        options: {
            base?: Record<string, unknown>;
            level: LogLevel;
            redact?: readonly string[];
        },
    ) => PinoLoggerLike

    Factory signature for creating a Pino logger instance. Matches the shape of the pino default export and allows tests to inject a stub.

    Type Declaration

      • (
            options: {
                base?: Record<string, unknown>;
                level: LogLevel;
                redact?: readonly string[];
            },
        ): PinoLoggerLike
      • Parameters

        • options: { base?: Record<string, unknown>; level: LogLevel; redact?: readonly string[] }

        Returns PinoLoggerLike

    0.1.0