Create Your Own Logging Provider to Log to Text Files in .NET Core

Опубликовано: 13 Октябрь 2024
на канале: Round The Code
17,482
175

💻 Download the code example for this demo 💻
https://www.roundthecode.com/dotnet-c...

When Logging in .NET Core, you can configure what you log depending on the logging provider.

The logging provider can range from the console to the event log. Or, it might even be a third-party like Serilog.

We will walk through the basics of logging in .NET Core and set up some logs in an ASP.NET Core API application.

Afterwards, we will then go ahead and create our own logging provider. This logging provider will be used so we can output our logs to text files.

📖 Learn .NET and C# with our online courses 📖
https://www.roundthecode.com/dotnet-c...

► More Information: https://www.roundthecode.com/dotnet-t...