icerpc / icerpc-csharp

A C# RPC framework built for QUIC, with bidirectional streaming, first-class async/await, and Protobuf support.
https://docs.icerpc.dev
Apache License 2.0
108 stars 13 forks source link

Update logging code to use LoggerMessageAttribute #358

Closed pepone closed 3 years ago

pepone commented 3 years ago

Once we move to .NET 6, we should look if this new API can simplify our code

https://devblogs.microsoft.com/dotnet/announcing-net-6-preview-4/#microsoft-extensions-logging-compile-time-source-generator

pepone commented 3 years ago

Fixed in https://github.com/zeroc-ice/icerpc-csharp/pull/370