1GEARMAN_WORKER_SET_LOG_FN(3)       Gearmand       GEARMAN_WORKER_SET_LOG_FN(3)
2
3
4

NAME

6       gearman_worker_set_log_fn   -   Gearmand   Documentation,  http://gear
7       man.info/
8

SYNOPSIS

10       #include <libgearman/gearman.h>
11
12       void   gearman_worker_set_log_fn(gearman_worker_st    *worker,    gear‐
13       man_log_fn *function, void *context, gearman_verbose_t verbose)
14

DESCRIPTION

16       gearman_worker_set_log_fn()  is  similar to gearman_client_set_log_fn()
17       but    it    used     with     workers,     aka,     gearman_worker_st.
18       gearman_worker_set_log_fn() allows you to register a callback that will
19       be passed all error messages that are givin to the worker.
20
21       See gearman_log_fn for a description of the callback.
22
23       See gearman_verbose_t for more information on logging levels.
24

RETURN VALUE

26       None
27

HOME

29       To find out more information please check: http://gearman.info/
30

SEE ALSO

32       gearmand(8) libgearman(3)  gearman_client_set_log_fn(3)  gearman_log_fn
33       gearman_verbose_t
34

AUTHOR

36       Data Differential http://www.datadifferential.com/
37
39       2011-2014, Data Differential, http://www.datadifferential.com/
40
41
42
43
441.1.20                           Nov 19, 2022     GEARMAN_WORKER_SET_LOG_FN(3)
Impressum