Beispiel #1
0
 public HealthChecker(HealthCheckerConfiguration.GetHealthChecks healthChecksFunc, HealthCheckerConfiguration.LogError logException, TimeSpan timeout)
 {
     _healthChecksFunc = healthChecksFunc;
     _logException     = logException;
     _timeout          = timeout;
 }
Beispiel #2
0
 public HealthCheckerBuilder WithLogger(HealthCheckerConfiguration.LogError logError)
 {
     _logError = logError;
     return(this);
 }
Beispiel #3
0
 public HealthChecker(HealthCheckerConfiguration.GetHealthChecks healthChecksFunc, HealthCheckerConfiguration.LogError logException, TimeSpan timeout)
 {
     _healthChecksFunc = healthChecksFunc;
     _logException = logException;
     _timeout = timeout;
 }
 public HealthCheckerBuilder WithLogger(HealthCheckerConfiguration.LogError logError)
 {
     _logError = logError;
     return this;
 }