This video illustrates how event viewer read, write & clear logs in C# code. The code also shows how to delete the log instance from the EventViewer. This is very good repository for the logging mechanism in windows operating system to be used in any dot net applications.
Music: YouTube Audio Library
Technologies: .NET, C#
IDE: Visual Studio Community Edition
Tool: Windows EventViewer