1.1.3.16 SYS_APPDEBUG_ERR_PRINT

C

#define SYS_APPDEBUG_ERR_PRINT(obj, flow, fmt, ...) SYS_APPDEBUG_PRINT(obj, flow, APP_LOG_ERROR_LVL, __FUNCTION__, __LINE__, fmt, ##__VA_ARGS__)

Summary

Used for logging Error Level Logs

Description

This macro function is used for logging error level logs.

Precondition

SYS_APPDEBUG_Open should have been called.

Parameters

obj - SYS App Debug object handle, returned from SYS_APPDEBUG_Open flow - valid flow defined by the User, log will come only if this flow is enabled data - valid string ... - any variable arguments if present

Returns

None.

Example

// Handle "objSysAppDebug" value must have been returned from SYS_APPDEBUG_Open.
SYS_APPDEBUG_ERR_PRINT(objSysAppDebug, MY_APP_FLOW_DATA, "Failed to allocate memory of size %d", size);

Remarks

None.