Serilog.Sinks.MSBuild (nuget): This package provides a Serilog sink that redirects events to MSBuild.  It is useful when an MSBuild task calls code that uses Serilog.  Despite the package depending on MSBuild 16.8, it will work on versions after 15.  When using this package, MSBuild's assemblies are not copied, which is not a problem for custom task assemblies.
Keywords: serilog|logging|msbuild|serilog-sink