March 2018
Beginner to intermediate
458 pages
10h 34m
English
ASP.NET Core supports the logging API, which works with a wide variety of logging providers. We can write logs to one or more locations and we can also plug in third-party logging frameworks, such as NLog, Serilog, and so on. In this section, we will look at out-of-the box logging, as it is sufficient for the logging needs of most apps.
Let's see the architecture of the logging infrastructure. The code map diagram for logging is shown here:

As we can see, it consists of the following main components: