How to properly perform logging in .NET Core applications

Amir Kamali
8 min readApr 15, 2022

Logging is one of the most important parts of the web applications. When there are incidents or warnings, logs are the best tools available to investigate the issues. You probably don’t want your boss, team members or customers calling your website or service buggy. The underlying issue may not have originated from your code and it can be more frustrating if you don’t know how to identify and replicate the issue! If you have a good logging mechanism in place, next time someone complains, you can quickly pinpoint the exact cause of the issue!

--

--

Amir Kamali

ex. Director of Mobile & OTT at AMC Networks, ex. Engineering Manager at Tile / Life360