ASP.NET Core: Implementing the Syslog Logger

This blog post shows you how to log messages to a Syslog server from ASP.NET Core applications.
The Syslog server is a popular logs server from the Linux world. It is usually a separate box or virtual machine that accepts log messages but it is not accessible by external users. It can be especially useful for web applications, as hackers can’t open a way to your internal network, and thus logs remain safe, as malicious users cannot access them.