Share via


Logging Members

Applies To: Windows 8.1

Logs standard ETW events to a pre-configured ETW session maintained by the AXE engine so that the solution doesn't have to configure and manage ETW itself. Use the CreateLogger method to retrieve a Logging object with the AXE Execution Solution API. Use the CreateLogger method to retrieve a Logging object with the AXE Execution Assessment API.

The following tables list the members exposed by the Logging type.

Public Methods

(see also Protected Methods)

  Name Description
public method Dispose Marks for the garbage collector to free memory.
public method Equals  (Inherited from Object)
public method FlushLog Commits all of the accumulated log messages to disk.
public method GetHashCode  (Inherited from Object)
public method GetType  (Inherited from Object)
public method LogBeginOperation Logs a Begin event to the AXE engine’s pre-configured ETW session.
public method LogDiscreteOperation Logs an event to the AXE engine’s pre-configured ETW session.
public method LogEndOperation Logs an end event to the AXE engine’s pre-configured ETW session.
public method LogErrorCode Overloaded. Logs an error code and custom message to AXE’s pre-configured ETW session.
public method LogFileVersion Writes the four-part version number of an executable to AXE’s pre-configured ETW file.
public method LogMessage Overloaded. Writes custom messages to AXE’s pre-configured ETW file.
public method ToString  (Inherited from Object)

Top

Protected Methods

  Name Description
protected method Finalize  (Inherited from Object)
protected method MemberwiseClone  (Inherited from Object)

Top

See Also

Reference

Logging Class
Microsoft.Assessments Namespace