Esempio n. 1
0
 public static void LogRecurringBackgroundServiceSleeping(
     this ISilverbackLogger logger,
     DistributedBackgroundService service,
     TimeSpan delay) =>
 RecurringBackgroundServiceSleeping(
     logger.InnerLogger,
     service.GetType().FullName,
     delay.TotalMilliseconds,
     null);
Esempio n. 2
0
 public static void LogRecurringBackgroundServiceException(
     this ISilverbackLogger logger,
     DistributedBackgroundService service,
     Exception exception) =>
 RecurringBackgroundServiceException(logger.InnerLogger, service.GetType().FullName, exception);
Esempio n. 3
0
 public static void LogRecurringBackgroundServiceStopped(
     this ISilverbackLogger logger,
     DistributedBackgroundService service) =>
 RecurringBackgroundServiceStopped(logger.InnerLogger, service.GetType().FullName, null);
Esempio n. 4
0
 public static void LogBackgroundServiceLockAcquired(
     this ISilverbackLogger logger,
     DistributedBackgroundService service) =>
 BackgroundServiceLockAcquired(logger.InnerLogger, service.GetType().FullName, null);