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()
@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()