Serilog and compile-time logging source generation
sakno opened this issue · 3 comments
sakno commented
Logging message generator introduced in .NET 6 is not compatible with Serilog @ operator. Any attempt to use this operator in LoggerMessageAttribute causes compilation error.
nblumhardt commented
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 commented
CC @snakefoot, who may be interested in this from the NLog perspective.
willbush commented
dotnet/runtime#79038 was merged. Shouldn't this be closed?