示例#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);