Exemplo n.º 1
0
 public HealthCheckLogger(string categoryName, HealthCheckLoggerProvider healthCheckLoggerProvider)
 {
     this.categoryName = categoryName;
     this.healthCheckLoggerProvider = healthCheckLoggerProvider;
 }
Exemplo n.º 2
0
 public LoggerHealthCheck(HealthCheckLoggerProvider healthCheckLoggerProvider, IHealthMessageFormatter healthMessageFormatter, LoggerHealthCheckOptions options)
 {
     this.healthCheckLoggerProvider = healthCheckLoggerProvider;
     this.healthMessageFormatter    = healthMessageFormatter;
     this.options = options ?? throw new ArgumentNullException(nameof(options));
 }