Classes

Functions

Interfaces

I
ConsoleLoggerOptions

Options for constructing a ConsoleLogger.

I
LoggerPluginOptions

Options for LoggerPlugin.

I
NoopLoggerOptions

Options for constructing a NoopLogger. Currently unused but kept for a stable, forward-compatible constructor signature that mirrors the other logger implementations.

I
PinoLoggerOptions

Options for constructing a PinoLogger.

I
RequestLoggerOptions

Type Aliases

T
LoggerTransport = "console" | "pino" | "noop"

Selects the underlying logger implementation.

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

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

Usage

import * as Structured_logging_plugin_for_the_Setu_TS_framework___Provides_three_logger_implementations____ConsoleLogger____PinoLogger___and__NoopLogger____and_automatic_request_response_logging_middleware__all_registered_under__CAPABILITIES_LOGGER__by_the__LoggerPlugin____Every_export_here_is_public_API_and_documented_in_PUBLIC_API_md__AI_GUIDELINES__10__ from "logger-plugin/src/index.ts";