Logging And Application Insights in Non-ASP.NET Applications
Trying to get Logging to work correctly in non-ASP.NET Applications working is quite a feat. Same goes for Configuration. In this video I present a simple class that does all of this for you and I also talk about some of the issue with logging in general as well as issues with the ILogger. I also present a solution for some of these issues. Source Code for the Project https://github.com/matlus/ConsoleAppLogger-.NET-5 Chapter Markers 00:00 Intro 00:46 What is this Video About 03:45 Intro to the LoggerProvider 05:17 Introducing the Rest of the Code 05:39 What Is Application Insights 08:37 Run the App and Look at the Logs 17:06 Explanation of the Code 17:55 Issues with Structured Logging 18:32 Looking and Logged Exceptions 20:09 Problems with Logging 24:38 Problems with ILogger 29:56 Introducing the ApplicationLogger Class
Trying to get Logging to work correctly in non-ASP.NET Applications working is quite a feat. Same goes for Configuration. In this video I present a simple class that does all of this for you and I also talk about some of the issue with logging in general as well as issues with the ILogger. I also present a solution for some of these issues. Source Code for the Project https://github.com/matlus/ConsoleAppLogger-.NET-5 Chapter Markers 00:00 Intro 00:46 What is this Video About 03:45 Intro to the LoggerProvider 05:17 Introducing the Rest of the Code 05:39 What Is Application Insights 08:37 Run the App and Look at the Logs 17:06 Explanation of the Code 17:55 Issues with Structured Logging 18:32 Looking and Logged Exceptions 20:09 Problems with Logging 24:38 Problems with ILogger 29:56 Introducing the ApplicationLogger Class