[pacman-dev] alpm_option_set_logcb(), an example of usage