-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Enterprise Application Development with C# 10 and .NET 6 - Second Edition
By :
Logging helps you to record your application's behavior for different data at runtime and you can control what you want to record and where you want to record it. Once the development of your feature is complete, you can unit test it thoroughly on a development PC, deploy it in a test environment for thorough integration testing, then deploy it in production, and finally, open it up for many users. The context in which your application is running (such as servers, data, and load) is different in test environments and production environments when you compare it with the development box, and you might face unexpected issues in the test and production environments in the initial days.
This is where logging plays a very important role in recording what happens during runtime when different components in the end-to-end flow perform their functions and interact with each other. With the log information available, we can debug production issues and build...