Share via


Logging object

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.

When to implement

Never. Objects of this class are implemented and exposed by the AXE Assessment Support.

Members

The Logging object has these types of members:

  • Methods

Methods

The Logging object has these methods.

Method Description
Dispose

Overloaded.

Releases all resources used by the object.

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

Logs a begin 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 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

DLL

Microsoft.Assessments.Core.dll ; AxeCore.dll

 

 

Send comments about this topic to Microsoft

Build date: 10/2/2013