HealthCheckModule constructor
HealthCheckModule({
- required List<
HealthIndicator> indicators, - ErrorLogStyle errorLogStyle = ErrorLogStyle.none,
- 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)],
);