Get nestjs-pino module options with improved type safety and validation
ConfigService
Overrides for the module options
NestjsPinoModuleOptions
const options = getNestjsPinoModuleOptions(configService, { exclude: [{ method: 0, path: '/health' }],}); Copy
const options = getNestjsPinoModuleOptions(configService, { exclude: [{ method: 0, path: '/health' }],});
or you can use the config service directly
// const config = you can get it from the config service or from the environment variablesgetParamsFromConfig(config) Copy
// const config = you can get it from the config service or from the environment variablesgetParamsFromConfig(config)
Get nestjs-pino module options with improved type safety and validation