func_callback

@brief Set logger function.

The default is to print to stderr, but a syslog logger is also available, see rd_kafka_log_(print|syslog) for the builtin alternatives. Alternatively the application may provide its own logger callback. Or pass 'func' as NULL to disable logging.

@deprecated Use rd_kafka_conf_set_log_cb()

@remark \p rk may be passed as NULL in the callback.

extern (C) nothrow @nogc deprecated
alias func_callback = void function
(
const rd_kafka_t* rk
,
int level
,
const(char)* fac
,
const(char)* buf
)
nothrow @nogc

Meta