gearman_worker_set_log_fn
Gearmand Documentation, http://gearman.info/
- Provided by: libgearman-dev (Version: 1.1.21+ds-1ubuntu3)
- Source: gearmand
- Report a bug
Gearmand Documentation, http://gearman.info/
#include <libgearman/gearman.h>
gearman_worker_set_log_fn() is similar to gearman_client_set_log_fn() <#c.gearman_client_set_log_fn> but it used with workers, aka, gearman_worker_st <#c.gearman_worker_st>. gearman_worker_set_log_fn() allows you to register a callback that will be passed all error messages that are givin to the worker.
See gearman_log_fn <#c.gearman_log_fn> for a description of the callback.
See gearman_verbose_t <#c.gearman_verbose_t> for more information on logging levels.
None
To find out more information please check: <http://gearman.info/>
gearmand(8) libgearman(3) gearman_client_set_log_fn(3) gearman_log_fn gearman_verbose_t
Data Differential http://www.datadifferential.com/
2011-2014, Data Differential, http://www.datadifferential.com/