Subsections

log_xxd

Synopsis:

#include <debuglog.h>

void log_xxd(const int priority,
    const char *msg,
    const unsigned char *buffer,
    const int size);

Parameters:

priority IN priority level
msg IN text string
buffer IN buffer you want to dump in hex
size IN size of the buffer

Description:

Same idea as log_msg() put print the hex dump of a buffer.

Example:

log_xxd(PCSC_LOG_DEBUG, "received frame: ", buff, buff_size);



Ludovic Rousseau 2008-01-18