Logging is used to understand the activities of the system, which aids in diagnosing problems, both security, and non-security. Logging frameworks make it easy to write logs to different places by simply changing a configuration. Explore the popular logging frameworks for .NET, including log4net, Nlog, Serilog, and Common. Logging. Understand the differences between unstructured and structured logging and how to implement each of the popular logging frameworks.