Skip to content

Commit

Permalink
Update logging msg
Browse files Browse the repository at this point in the history
  • Loading branch information
austins committed Oct 29, 2024
1 parent f4e0ce8 commit 63a0b56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ private sealed partial class Log(ILogger logger)

[LoggerMessage(
Level = LogLevel.Information,
Message = "Executed notification handlers for '{notificationName}'. Elapsed time: {elapsedMs}ms.")]
Message = "Executed notification handler(s) for '{notificationName}'. Elapsed time: {elapsedMs}ms.")]
public partial void NotificationHandlersExecuted(string notificationName, double elapsedMs);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public async Task Publish_ValidNotification_Success()
handlersExecutedLog
.Message
.Should()
.StartWith($"Executed notification handlers for '{notificationName}'. Elapsed time:");
.StartWith($"Executed notification handler(s) for '{notificationName}'. Elapsed time:");
}

[Fact]
Expand Down

0 comments on commit 63a0b56

Please sign in to comment.