Skip to content

WriteLog

Navigation: ADLX SDK ReferencesADLX InterfacesMiscellaneousIADLXLog

Syntax

ADLX_RESULT    WriteLog (const wchar_t* msg)

Parameters

#DirectionNameTypeDescription
1.[out]msgconst wchar_t*The new log message from the internal code execution of ADLX.

Return Value

The method must return ADLX_OK.

Remarks

Once the application enables the ADLX logs with EnableLog using APPLICATION for the ADLX_LOG_DESTINATION parameter, ADLX will call this method when a new log trace is generated.

The method should return quickly to not block the execution path in ADLX. If the method requires a long processing of the log trace, the application must copy the log message and process it asynchronously.

Requirements

Headerinclude “ISystem.h”
Minimum version1.0

See Also

EnableLog

See Also: EnableLog, ADLX Enums