WriteLog
The WriteLog method is called by ADLX when a new ADLX log message is available.
Syntax
ADLX_RESULT WriteLog (const wchar_t* msg)
Parameters
-
[out]
msg const 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
Header |
include “ISystem.h” |
Minimum version |
1.0 |