Updated on 2022-03-13 GMT+08:00

Log Printing Format 7

Syntax

#define HIAI_ENGINE_LOG(...) \

HIAI_ENGINE_LOG_IMPL(__FUNCTION__, __FILE__, __LINE__, ##__VA_ARGS__)

void HIAI_ENGINE_LOG_IMPL(const char* funcPointer, const char* filePath, int lineNumber,

const int32_t moudleID, const char* format, ...);

Parameter Description

Parameter

Description

Value Range

moudleID

Enumeration ID of the module name

-

format

Log description

-

...

Variable parameter in format, which is added based on the log content

-

Calling Example

HIAI_ENGINE_LOG(MODID_OTHER, "RUNNING OK");