Logging::LogMessage method

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

Applies to: desktop apps only

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

Syntax

HRESULT LogMessage(
  [in, optional]  LPCWSTR message,
  [in, optional]  LPCWSTR messageFormat,
  [in, optional]  va_list *messageArguments
);

Parameters

  • message [in, optional]
    An optional string value that can be a message to add to the logged output.

  • messageFormat [in, optional]
    An optional string value that can be a FormatMessage format string used for formatting custom messages.

  • messageArguments [in, optional]
    A variable argument list to be used with the messageFormat parameter.

Return value

If the function succeeds, the return is S_OK.

Requirements

Minimum supported client

Windows 7

Minimum supported server

Windows Server 2008 R2

Header

AxeCore.h

DLL

AxeCore.dll

See also

Logging

 

 

Build date: 1/8/2012