Share via


Logging::LogMessage method

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

Syntax

virtual HRESULT LogMessage(
  [in, optional] LPCWSTR messageFormat,
  [in, optional] va_list *messageArguments
) = 0;

Parameters

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, it returns S_OK. If it fails, it returns an error value.

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

See also

Logging

LogMessage methods