| 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.
#define fp_err g_warning
Same as g_warning(). In the future, this might be changed to a
g_assert() instead, so bear this in mind when adding those calls
to your driver.