manigandham / serilog-sinks-googlecloudlogging

Serilog sink that writes events to Google Cloud Logging
MIT License
41 stars 25 forks source link

Upgrades to Serilog 4.0 #72

Open StasPerekrestov opened 4 months ago

StasPerekrestov commented 4 months ago

Dear Mani,

Please review this pull request.

Summary:

  1. Upgrades Serilog to 4.0
  2. Adds .NET 8.0 and removes .NET 5.0 from Target Frameworks
  3. Adds source-generated Regex support for .NET 8.0 + to LogFormatter
  4. Uses introduced in Serilog 3.1 properties TraceId/SpanId to propagate trace context

Please let me know if you see that the PR could be improved.

Thank you.