The Windows Event Log API defines the schema that you use to write an instrumentation manifest. An instrumentation manifest identifies your event provider and the events that it logs. The API also includes the functions that an event consumer, such as the Event Viewer, would use to read and render the events. To write the events defined in the manifest, use the functions included in the Event Tracing (ETW) API.
Windows Event Log supersedes the Event Logging API beginning with the Windows Vista operating system.
Developer audience
Windows Event Log is designed for C/C++ programmers.
Run-time requirements
Windows Event Log is included in the operating system beginning with Windows Vista and Windows Server 2008.
For information about run-time requirements for a particular programming element, see the Requirements section of the reference page for that element.
Learn how Event Viewer provides a convenient and accessible location for you to observe events that occur. Access event information quickly and conveniently. Learn how to interpret the data in the event log.