Posts

Showing posts from January, 2018

Logging w/ MetroLog in (UWP) Application

Image
Introduction As many of you developers out there are aware, sometimes you have to build or bring with you a number of application infrastructure items before you can even get started with the core application logic.  For example, you might need some helpers, services and base classes that make your job easier or allow you to start with your base patterns, such as, MVC, MVVM, etc. Today, we are going to discuss how we can add logging support to our application so that we can get better information from a user to help find and fix any issues that they are experiencing. How To Add MetroLog We could roll our own logging system, but why when you can use another third party system?  Okay, I know why you might want to roll your own so that you have complete control over the code.  You can add features, etc.  Correct?  Usually. However, for this post, I am going to use a NuGet package called MetroLog to implement some very basic logging.  If you want ...