serilog-extensions-logging icon indicating copy to clipboard operation
serilog-extensions-logging copied to clipboard

Serilog and compile-time logging source generation

Open sakno opened this issue 4 years ago • 2 comments
trafficstars

Logging message generator introduced in .NET 6 is not compatible with Serilog @ operator. Any attempt to use this operator in LoggerMessageAttribute causes compilation error.

sakno avatar Nov 17 '21 18:11 sakno

Thanks for the heads-up. That's not our code - you'll need to raise this on dotnet/runtime. If you need any extra info though, please loop me in :-)

nblumhardt avatar Nov 17 '21 23:11 nblumhardt

CC @snakefoot, who may be interested in this from the NLog perspective.

nblumhardt avatar Nov 17 '21 23:11 nblumhardt

https://github.com/dotnet/runtime/pull/79038 was merged. Shouldn't this be closed?

willbush avatar Sep 08 '23 23:09 willbush