~fractalcat/gearmand/docfixes

« back to all changes in this revision

Viewing changes to docs/man/gearman_worker_set_log_fn.3

  • Committer: Brian Aker
  • Date: 2012-09-30 23:55:03 UTC
  • mto: (621.4.21 workspace)
  • mto: This revision was merged to the branch mainline in revision 656.
  • Revision ID: brian@tangent.org-20120930235503-u6r0uq1hl0mdj5an
Fix it so that we don't need to store the manpages in the tree.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.TH "GEARMAN_WORKER_SET_LOG_FN" "3" "September 14, 2012" "0.38" "Gearmand"
2
 
.SH NAME
3
 
gearman_worker_set_log_fn \- Gearmand Documentation, http://gearman.info/
4
 
.
5
 
.nr rst2man-indent-level 0
6
 
.
7
 
.de1 rstReportMargin
8
 
\\$1 \\n[an-margin]
9
 
level \\n[rst2man-indent-level]
10
 
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
11
 
-
12
 
\\n[rst2man-indent0]
13
 
\\n[rst2man-indent1]
14
 
\\n[rst2man-indent2]
15
 
..
16
 
.de1 INDENT
17
 
.\" .rstReportMargin pre:
18
 
. RS \\$1
19
 
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
20
 
. nr rst2man-indent-level +1
21
 
.\" .rstReportMargin post:
22
 
..
23
 
.de UNINDENT
24
 
. RE
25
 
.\" indent \\n[an-margin]
26
 
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
27
 
.nr rst2man-indent-level -1
28
 
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
29
 
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
30
 
..
31
 
.\" Man page generated from reStructeredText.
32
 
.
33
 
.SH SYNOPSIS
34
 
.sp
35
 
#include <libgearman/gearman.h>
36
 
.INDENT 0.0
37
 
.TP
38
 
.B void gearman_worker_set_log_fn(gearman_worker_st\fI\ *worker\fP, gearman_log_fn\fI\ *function\fP, void\fI\ *context\fP, gearman_verbose_t\fI\ verbose\fP)
39
 
.UNINDENT
40
 
.SH DESCRIPTION
41
 
.sp
42
 
\fI\%gearman_worker_set_log_fn()\fP is similar to \fBgearman_client_set_log_fn()\fP but it used with workers, aka, \fBgearman_worker_st\fP.
43
 
\fI\%gearman_worker_set_log_fn()\fP allows you to register a callback that will be passed all error messages that are givin to the worker.
44
 
.sp
45
 
See \fBgearman_log_fn\fP for a description of the callback.
46
 
.sp
47
 
See \fBgearman_verbose_t\fP for more information on logging levels.
48
 
.SH RETURN VALUE
49
 
.sp
50
 
None
51
 
.SH HOME
52
 
.sp
53
 
To find out more information please check:
54
 
\fI\%http://gearman.info/\fP
55
 
.SH SEE ALSO
56
 
.sp
57
 
\fIgearmand(8)\fP \fIlibgearman(3)\fP \fIgearman_client_set_log_fn(3)\fP \fIgearman_log_fn\fP  \fIgearman_verbose_t\fP
58
 
.SH AUTHOR
59
 
Data Differential http://www.datadifferential.com/
60
 
.SH COPYRIGHT
61
 
2012, Data Differential, http://www.datadifferential.com/
62
 
.\" Generated by docutils manpage writer.
63
 
.\" 
64
 
.