Gearmand documentation, http://gearman.info/
#include <libgearman/gearman.h>
void gearman_client_set_log_fn(gearman_worker_st *worker, gearman_log_fn *function, void *context, gearman_verbose_t verbose)
gearman_client_set_log_fn() is similar to gearman_worker_set_log_fn() but it used with clients, aka, gearman_client_st. gearman_client_set_log_fn() allows you to register a callback that will be passed all error messages that are givin to the client.
See gearman_log_fn for more information on the callback.
See gearman_verbose_t for more information on logging levels.
None
To find out more information please check: http://gearman.info/
Data Differential http://www.datadifferential.com/
2011-2013, Data Differential, http://www.datadifferential.com/