SlimMessageBus
SlimMessageBus copied to clipboard
[Host] High Performance Logging
Currently, most log statements use the logging extension methods to log information. We could use the following to avoid the logging overhead and make it faster:
- For
netstandard2.0use https://learn.microsoft.com/en-us/dotnet/core/extensions/high-performance-logging - For
net6.0onwards use https://learn.microsoft.com/en-us/dotnet/core/extensions/logger-message-generator
if not to change anything
https://github.com/stbychkov/AutoLoggerMessage
I don't think it will work as target netstandard2.0 and net6.0, there's a call out:
As this solution is based on interceptors, only .NET 8+ is supported