Using logging
When you are developing your applications, you use one of the well-known integrated development environments such as Visual Studio 2017 or Visual Studio Code, as described in the beginning chapters of the book. You do this every day, and most of the things you do become reflexes and you do them automatically after some time.
It is natural for you to be able to debug your applications and understand what is happening during runtime, by using the advanced debugging features of Visual Studio 2017, for example. Looking up variable values, seeing what methods get called in what order, understanding what instances are injected, and capturing exceptions, are key to building applications that are robust and respond to business needs.
Then, when deploying your applications to production environments, you suddenly miss all of those features. Rarely will you find a production environment where Visual Studio is installed, but, errors and unexpected behaviors will happen and you will need...