| Top |
Logging in libfprint is handled through GLib's logging system, and behave the same way as in the GLib Message Output and Debugging Functions documentation.
You should include fpi-log.h as early as possible in your sources, just after
setting the FP_COMPONENT define to a string unique to your sources. This will
set the suffix of the G_LOG_DOMAIN used for printing.
void fp_dbg_hex_dump_bytes (const gchar *log_domain,const guint8 *buf,gsize len);
Prints hex dump of buf
to fp_dbg()
void fp_dbg_hex_dump_gbytes (const gchar *log_domain,GBytes *gbytes);
Prints hex dump of gbytes
to fp_dbg()