UNPKG

@nestjs-labs/nestjs-pino-extra

Version:

Enhanced nestjs-pino with OpenTelemetry, Loki, file rotation and enterprise features

17 lines 704 B
import type { ConfigService } from '@nestjs/config'; import type { Params } from 'nestjs-pino'; import type pino from 'pino'; interface LogConfig { app: string; filename?: string; level: pino.Level; loki?: string; spanIdKey: string; traceIdKey: string; } export declare function extractLogConfig(configService: ConfigService): LogConfig; export declare function getPinoHttpFromConfig(config: LogConfig): Params['pinoHttp']; export declare function getParamsFromConfig(config: LogConfig, overrides?: Params): Params; export declare function getNestjsPinoModuleOptions(configService: ConfigService, overrides?: Params): Params; export {}; //# sourceMappingURL=module-option.d.ts.map