I need a requirement like this, I need to create a log message record of any kind using the logging framework. Then record some logs in some key places, and then I need to retrieve some information from it, how is this done?
For more details, please refer to this article:
Implementing logging with Serilog
More logging frameworks can read this:
Logging in .NET Core and ASP.NET Core
Then you want to read information from this log?
You can read this article:
https://docs.microsoft.com/en-us/previous-versions/windows/apps/hh758325(v=win.10)