© Fanie Reynders 2018
Fanie ReyndersModern API Design with ASP.NET Core 2https://doi.org/10.1007/978-1-4842-3519-5_7

7. Logging and Error Handling

Fanie Reynders1 
(1)
Odijk, The Netherlands
 

Application logging plays a crucial role in tracking and identifying issues that may surface as well as in providing useful insights on the workflow processes of solutions. When things go wrong, one of the first sources to look at is the application’s log. Depending on the number of details that are logged, each entry represents an action that occurred at a specific date and time.

Logs can contain system-generated events as well as events explicitly defined by the developer and are usually grouped into categories like errors, informational, and warning. Application ...

Get Modern API Design with ASP.NET Core 2: Building Cross-Platform Back-End Systems 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.