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

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.