Log Printing
Use HIAI_ENGINE_LOG to invoke different HIAI_ENGINE_LOG_IMPL functions based on the input parameters. When the formatting function is invoked, the type and number of parameters in the format must be the same as the actual parameter type and number. The APIs associated with log printing are defined in log.h.
After HIAI_ENGINE_LOG is called, the system records logs in the /var directory on the host side or developer board. Device logs are recorded in log files whose names start with device-id. Host logs are recorded in log files whose names start with host-0.
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