gearman_server_set_log(3)
NAME
gearman_server_set_log - Server Interface
SYNOPSIS
#include <libgearman/gearman.h> void gearman_server_set_log(gearman_server_st *server, gearman_server_log_fn log_fn, void *log_fn_arg, gearman_verbose_t verbose);
DESCRIPTION
Set logging callback for server instance.
PARAMETERS
- server Server structure previously initialized with gearman_server_cre
- ate.
- log_fn Function to call when there is a logging message.
- log_fn_arg
- Argument to pass into the log callback function.
- verbose
- Verbosity level.
SEE ALSO
The Gearman homepage: http://www.gearman.org/
BUGS
Bugs should be reported at https://bugs.launchpad.net/gearmand
COPYING
Copyright (C) 2008 Brian Aker, Eric Day. All rights reserved.
- Use and distribution licensed under the BSD license. See the COPYING
file in the original source for full text.