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