HealthCheckModule constructor

HealthCheckModule({
  1. required List<HealthIndicator> indicators,
  2. ErrorLogStyle errorLogStyle = ErrorLogStyle.none,
  3. String? path,
})

Creates a HealthCheckModule with the specified indicators, error logging style, and optional path.

Implementation

HealthCheckModule({
  required List<HealthIndicator> indicators,
  ErrorLogStyle errorLogStyle = ErrorLogStyle.none,
  String? path,
}) : super(
       controllers: [HealthController(path)],
       providers: [HealthCheckService(indicators, errorLogStyle)],
     );