gearman_set_log_fn(3)
NAME
gearman_set_log_fn - Gearman Core Interface
SYNOPSIS
#include <libgearman/gearman.h> void gearman_set_log_fn(gearman_st *gearman, gearman_log_fn *function, const void *context, gearman_verbose_t verbose);
DESCRIPTION
Set logging function for a gearman structure. *
PARAMETERS
[in] gearman Structure previously initialized with gearman_create() or gearman_clone().
[in] function Function to call when there is a logging message.
[in] context Argument to pass into the callback function.
[in] verbose Verbosity level threshold. Only call function when
the logging message is equal to or less verbose that this.
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.