Relative Content

Tag Archive for c#.netlogging

Trying to set ILogger.BeginScope with properties but is not working

I’m trying to set properties and see them in all my logs, but can’t make it work.
Starting with a simple example, where I would like to see only 1 log with attached properties but nothing. I can see the structured logging property but not the attached state to the scope.