Tag: .NET Core

Implementing a Custom ILogger with Exception Handling for .NET Core

This article corresponds with the MSDN article: Essential .NET – Logging with .NET Core. This github repo contains the code referenced in the article. Not in particular the unit test LogCritical_Exception_Success for an example of handling an exception using the custom logger. public void LogCritical_Exception_Success() { string message = “The amount of caffeine has reach […]