log_cb_callback

@brief Set logger callback.

The default is to print to stderr, but a syslog logger is also available, see rd_kafka_log_print and rd_kafka_log_syslog for the builtin alternatives. Alternatively the application may provide its own logger callback. Or pass \p func as NULL to disable logging.

This is the configuration alternative to the deprecated rd_kafka_set_logger()

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

Meta