In many of the log messages a logger.IsEnabled call is called to guard the actual logging invocation.
I think we should migrate and use https://learn.microsoft.com/en-us/dotnet/core/extensions/logger-message-generator for logging
https://github.com/search?q=repo%3Adotnet%2Forleans%20logger.isenabled&type=code for reference
In many of the log messages a
logger.IsEnabledcall is called to guard the actual logging invocation.I think we should migrate and use https://learn.microsoft.com/en-us/dotnet/core/extensions/logger-message-generator for logging
https://github.com/search?q=repo%3Adotnet%2Forleans%20logger.isenabled&type=code for reference