1LOC_SET_LOG_FN(3)                                            LOC_SET_LOG_FN(3)
2
3
4

NAME

6       loc_set_log_fn - Sets the log callback function
7

SYNOPSIS

9       #include <libloc/libloc.h>
10
11       void loc_set_log_fn(struct loc_ctx* ctx, void (*log_fn)(struct loc_ctx*
12       ctx, int priority, const char* file, int line, const char* fn, const
13       char* format, va_list args)
14

DESCRIPTION

16       libloc can use the calling application’s logging system by setting this
17       callback.
18
19       It will be called once for each log message according to the configured
20       log level.
21

SEE ALSO

23       libloc(3)
24

AUTHORS

26       Michael Tremer
27
28
29
30                                                             LOC_SET_LOG_FN(3)
Impressum