10
Logging Patterns
This chapter delves into logging, an integral feature of .NET, and concludes the Designing for ASP.NET Core section. Logging is a fundamental building block for applications, allowing us to capture valuable information during runtime, and ASP.NET Core conveniently provides built-in support for it. In this chapter, we will explore the logging framework provided by ASP.NET Core and learn how to implement it effectively in our applications.
Logging is essential and adds visibility to production systems. Without logs, you don’t know what is happening in your system unless you are the only one using it, which is very unlikely. ASP.NET Core offers a logging system with clean interfaces, eliminating the need for third-party libraries ...
Get Architecting ASP.NET Core Applications - Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.