Exemple #1
0
 static void Log(ImmediateRetryMessage retry)
 {
     log.Fatal($@"Message sent to Immedediate Retry.
     RetryAttempt:{retry.RetryAttempt}
     Body:
     {GetMessageString(retry.Body)}");
 }
 void LogEvent(object sender, ImmediateRetryMessage retry)
 {
     log.Info($@"Message sent to Immedediate Retry.
 RetryAttempt:{retry.RetryAttempt}
 Body:
 {GetMessageString(retry.Body)}");
 }
 static Task Log(ImmediateRetryMessage retry)
 {
     log.Fatal($@"Message sent to Immediate Retry.
     RetryAttempt:{retry.RetryAttempt}
     Body:
     {GetMessageString(retry.Body)}");
     return(Task.CompletedTask);
 }
 void LogEvent(object sender, ImmediateRetryMessage e)
 {
     log.Info($"Message has failed an immedediate retry attempt. RetryAttempt:{e.RetryAttempt}");
 }
 static void Log(ImmediateRetryMessage firstLevelRetry)
 {
     log.Fatal($"Message sent to FLR. RetryAttempt:{firstLevelRetry.RetryAttempt}");
 }