GEARMAN_WORKER_SET_LOG_FN(3) Gearmand GEARMAN_WORKER_SET_LOG_FN(3)NAME
gearman_worker_set_log_fn - Gearmand Documentation, http://gear‐
man.info/
SYNOPSIS
#include <libgearman/gearman.h>
void gearman_worker_set_log_fn(gearman_worker_st *worker, gear‐
man_log_fn *function, void *context, gearman_verbose_t verbose);
DESCRIPTIONgearman_worker_set_log_fn() is similar to gearman_client_set_log_fn()
but it used with workers, aka, gearman_worker_st. gear‐
man_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 for a description of the callback.
See gearman_verbose_t for more information on logging levels.
RETURN VALUE
None
HOME
To find out more information please check: http://gearman.info/
SEE ALSOgearmand(8)libgearman(3)gearman_client_set_log_fn(3) gearman_log_fn
gearman_verbose_t
AUTHOR
Data Differential http://datadifferential.com/
COPYRIGHT
2011, Data Differential, http://datadifferential.com/
0.23 June 29, 2011 GEARMAN_WORKER_SET_LOG_FN(3)