Typedef GenieLog_Callback_t¶
Defined in File GenieLog.h
Typedef Documentation¶
-
typedef void (*GenieLog_Callback_t)(const GenieLog_Handle_t handle, const char *fmt, GenieLog_Level_t level, uint64_t timestamp, va_list args)¶
Signature for user-supplied logging callback.
- Param handle
[in] The GenieLog_Handle_t generating this callback.
- Param fmt
[in] printf-style message format specifier.
- Param level
[in] Log level for the message.
- 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.