logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

gearman_worker_set_log_fn - Gearmand Documentation, http://gearman.info/

Author

Description

gearman_worker_set_log_fn()  is  similar  to  gearman_client_set_log_fn()  but it used with workers, aka,
       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 for a description of the callback.

       See gearman_verbose_t for more information on logging levels.

Home

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

Name

       gearman_worker_set_log_fn - Gearmand Documentation, http://gearman.info/

Return Value

       None

See Also

gearmand(8)libgearman(3)gearman_client_set_log_fn(3)gearman_log_fngearman_verbose_t

Synopsis

       #include <libgearman/gearman.h>

       voidgearman_worker_set_log_fn(gearman_worker_st*worker,gearman_log_fn*function,void*context,gearman_verbose_tverbose)

See Also