Using Logging to Identify Errors
In this chapter, we will begin to learn about the logging tools that .NET provides us with. A logger is one of the tools that developers must use to debug an application or understand its failure in production. The log library has been built into ASP.NET with several features enabled by design. The purpose of this chapter is to delve into the things we take for granted and add more information as we go.
The themes we will touch on in this chapter are as follows:
- Exploring logging in .NET
- Leveraging the logging framework
- Storing a structured log with Serilog