Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use LoggerMessageGenerator for core logging messages #9274

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Meir017
Copy link

@Meir017 Meir017 commented Dec 22, 2024

Update core logging messages to use LoggerMessageGenerator for logging.

  • Modify src/Orleans.Core/Diagnostics/MessagingTrace.cs to use LoggerMessageGenerator for logging instead of LoggerMessage.Define.
  • Modify src/Orleans.Core/Manifest/ClientClusterManifestProvider.cs to use LoggerMessageGenerator for logging instead of logger.IsEnabled.
  • Modify src/Orleans.Core/Messaging/ClientMessageCenter.cs to use LoggerMessageGenerator for logging instead of logger.IsEnabled.
  • Modify src/Orleans.Core/Messaging/GatewayManager.cs to use LoggerMessageGenerator for logging instead of logger.IsEnabled.
Microsoft Reviewers: Open in CodeFlow
  • github copilot workspace reached the quota limit for this

Update core logging messages to use LoggerMessageGenerator for logging.

* Modify `src/Orleans.Core/Diagnostics/MessagingTrace.cs` to use LoggerMessageGenerator for logging instead of `LoggerMessage.Define`.
* Modify `src/Orleans.Core/Manifest/ClientClusterManifestProvider.cs` to use LoggerMessageGenerator for logging instead of `logger.IsEnabled`.
* Modify `src/Orleans.Core/Messaging/ClientMessageCenter.cs` to use LoggerMessageGenerator for logging instead of `logger.IsEnabled`.
* Modify `src/Orleans.Core/Messaging/GatewayManager.cs` to use LoggerMessageGenerator for logging instead of `logger.IsEnabled`.
@Meir017 Meir017 marked this pull request as draft December 22, 2024 21:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant