A library logs things itself

In this recipe, we will be using a text log file to store details about how the library interacts with other programs. This is a good practice; to log things as you go. Then, you will be able to pinpoint errors and other important things, such as usage of the library.

Get .NET Standard 2.0 Cookbook 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.