Provided by: libloc-dev_0.9.14-1_amd64 bug

NAME

       loc_set_log_fn - Sets the log callback function

SYNOPSIS

       #include <libloc/libloc.h>

       void loc_set_log_fn(struct loc_ctx* ctx, void (*log_fn)(struct loc_ctx* ctx, int priority,
       const char* file, int line, const char* fn, const char* format, va_list args)

DESCRIPTION

       libloc can use the calling application’s logging system by setting this callback.

       It will be called once for each log message according to the configured log level.

SEE ALSO

       libloc(3)

AUTHORS

       Michael Tremer

                                                                                LOC_SET_LOG_FN(3)