Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serilog and compile-time logging source generation #197

Closed
sakno opened this issue Nov 17, 2021 · 3 comments
Closed

Serilog and compile-time logging source generation #197

sakno opened this issue Nov 17, 2021 · 3 comments

Comments

@sakno
Copy link

sakno commented Nov 17, 2021

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
Copy link
Member

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
Copy link
Member

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

@willbush
Copy link

willbush commented Sep 8, 2023

dotnet/runtime#79038 was merged. Shouldn't this be closed?

@sakno sakno closed this as completed Sep 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants