Nestjs Pino Extra Packages - v1.0.0
    Preparing search index...
    • Get nestjs-pino module options with improved type safety and validation

      Parameters

      • configService: ConfigService

        ConfigService

      • overrides: Params = {}

        Overrides for the module options

      Returns Params

      NestjsPinoModuleOptions

      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 variables
      getParamsFromConfig(config)