diff --git a/src/Nocr.TextMatcher.AppServices/TextSubscriptions/EventHandlers/MessageReceivedHandler.cs b/src/Nocr.TextMatcher.AppServices/TextSubscriptions/EventHandlers/MessageReceivedHandler.cs index 4b6a8fa..d17bc69 100644 --- a/src/Nocr.TextMatcher.AppServices/TextSubscriptions/EventHandlers/MessageReceivedHandler.cs +++ b/src/Nocr.TextMatcher.AppServices/TextSubscriptions/EventHandlers/MessageReceivedHandler.cs @@ -28,7 +28,7 @@ public sealed class MessageReceivedHandler : IHandleMessages public async Task Handle(MessageReceived message) { - _logger.LogInformation("Received message: {@Message}", message); + _logger.LogInformation("Received message: {@Message}.", message); var matches = await _textSubscriptionService.Get(); @@ -36,7 +36,7 @@ public sealed class MessageReceivedHandler : IHandleMessages { if (match.IsMatches(message.ChatUsername, message.Text)) { - _logger.LogInformation("Message {@Message} matched {@Match}", message, match); + _logger.LogInformation("Message {@Message} matched {@Match}.", message, match); var @event = new TextSubscriptionMatched { SubscriptionId = match.Id, diff --git a/src/Nocr.TextMatcher.AppServices/TextSubscriptions/Services/TextSubscriptionsService.cs b/src/Nocr.TextMatcher.AppServices/TextSubscriptions/Services/TextSubscriptionsService.cs index cd4e51f..8f1a747 100644 --- a/src/Nocr.TextMatcher.AppServices/TextSubscriptions/Services/TextSubscriptionsService.cs +++ b/src/Nocr.TextMatcher.AppServices/TextSubscriptions/Services/TextSubscriptionsService.cs @@ -96,9 +96,9 @@ public sealed class TextSubscriptionsService : ITextSubscriptionsService public async Task DeactivateAllSubscriptionsById(long userId, CancellationToken cancellationToken = default) { - _logger.LogInformation("Deactivating all subscriptions for user {UserId}", userId); + _logger.LogInformation("Deactivating all subscriptions for user {UserId}.", userId); await _repository.DeactivateAllSubscriptionsById(userId, cancellationToken); - _logger.LogInformation("Successfully deactivated all subscriptions for user {UserId}", userId); + _logger.LogInformation("Successfully deactivated all subscriptions for user {UserId}.", userId); } private TextSubscriptionData MapToTextMatchData(TextSubscription textSubscription)