#include <debuglog.h>
void log_xxd(const int priority,
const char *msg,
const unsigned char *buffer,
const int size);
| priority | IN | priority level |
| msg | IN | text string |
| buffer | IN | buffer you want to dump in hex |
| size | IN | size of the buffer |
Same idea as log_msg() put print the hex dump of a buffer.
log_xxd(PCSC_LOG_DEBUG, "received frame: ", buff, buff_size);