Logging interface

[This documentation is preliminary and is subject to change.]

This interface logs standard ETW events to a pre-configured ETW session maintained by the AXE engine so the solution doesn't have to configure and manage ETW itself. A Logging object can be retrieved by calling CreateLogger.

When to implement

Never. This is an interface implemented and exposed by the AXE Engine.

Members

The Logging interface inherits from the IUnknown interface. Logging also has the following types of members:

  • Methods

Methods

The Logging interface has the following methods.

Method Description
FlushLog

Commits all accumulated log messages to disk.

LogBeginOperation

This method logs a "begin" event to the AXE engine's pre-configured ETW session.

LogDiscreteOperation

This method logs a discrete event to the AXE engine's pre-configured ETW session.

LogEndOperation

This method logs a end event to the AXE engine's pre-configured ETW session.

LogErrorCode

This method logs an error code and custom message to AXE’s pre-configured ETW session.

LogFileVersion

Writes the four-part version number of an executable to Axe’s pre-configured ETW file.

LogMessage

Write custom messages to Axe’s pre-configured ETW file.

 

Remarks

This interface is supported on Windows 7, Windows Server 2008 R2, Windows Developer Preview, and Windows Server Developer Preview.

Requirements

Header

AxeCore.h

See also

ETW Tracing

 

 

Build date: 9/6/2011