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.
@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.