Log Printing Format 3
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 uint32_t errorCode, const char* format, ...);
Parameter Description
Parameter |
Description |
Value Range |
---|---|---|
errorCode |
Error code |
- |
format |
Log description |
- |
... |
Variable parameter in format, which is added based on the log content |
- |
Calling Example
HIAI_ENGINE_LOG(HIAI_OK, "RUNNING OK");
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot