Typedef QnnLog_Callback_t¶
Defined in File QnnLog.h
Typedef Documentation¶
-
typedef void (*QnnLog_Callback_t)(const char *fmt, QnnLog_Level_t level, uint64_t timestamp, va_list args)¶
Signature for user-supplied logging callback.
- Param fmt
[in] Printf-style message format specifier.
- Param level
[in] Log level for the message. Will not be higher than the maximum specified in QnnLog_create.
- Param timestamp
[in] Backend-generated timestamp which is monotonically increasing, but otherwise meaningless.
- Param args
[in] Message-specific parameters, to be used with fmt.
Warning
The backend may call this callback from multiple threads, and expects that it is re-entrant.