Share via


Solution::CreateLogger method

Creates a Logging object to write information into AXE s event logging file.

Syntax

virtual HRESULT CreateLogger(
  [out] Logging **log
) = 0;

Parameters

log [out]

A double pointer to receive a pointer to the newly created Logging object.

Return value

If AXE creates the Logging object successfully, this method returns S_OK.

If there is insufficient memory available to create a Logging object, this method returns E_OUTOFMEMORY.

Remarks

Manage code uses the Solution.CreateLogger | createLogger method.

Requirements

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

See also

Solution