What do I do after installing a logger like NLog or Log4Net?
I don’t have a lot of experience with loggers, so I know this is going to sound like a dumb question. But I can’t find the answer to it anywhere. Okay, I install NLog or Log4Net, configure the one I installed, and then what?
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.