Share via


Logging class

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. Use the Solution::CreateLogger method to retrieve a Logging object with the AXE Execution Solution API. Use the Support::CreateLogger method to retrieve a Logging object with the AXE Execution Assessment API.

When to implement

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

Inheritance

The Logging interface inherits from IUnknown.

Logging has these types of members:

Methods

The Logging class has these methods.

Method Description
~Logging Destructor method.
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 an end event to the AXE engine s pre-configured ETW session.
LogErrorCode Overloaded. 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 Overloaded. Write custom messages to Axe s pre-configured ETW file.

Requirements

Minimum supported client
Windows 7 [desktop apps only]
Minimum supported server
Windows Server 2008 R2 [desktop apps only]
Header
AxeCore.h
DLL
AxeCore.dll