openthread_sys

Function otDumpCritPlat

Source
pub unsafe extern "C" fn otDumpCritPlat(
    aText: *const c_char,
    aData: *const c_void,
    aDataLength: u16,
)
Expand description

Generates a memory dump at critical log level.

If OPENTHREAD_CONFIG_LOG_PLATFORM or OPENTHREAD_CONFIG_LOG_PKT_DUMP is not set or the current log level is below critical this function does not emit any log message.

@param[in] aText A string that is printed before the bytes. @param[in] aData A pointer to the data buffer. @param[in] aDataLength Number of bytes in @p aData.