Function rust_with_kafka_tls::log_utils::setup_logger
source · [−]Expand description
setup_logger
Setup a logger for message processing by consumers or producers
Arguments
log_thread
- flag for logging the processing threadrust_log
- string containing the logging level for the function caller
Examples
use rust_with_kafka_tls::log_utils::setup_logger;
setup_logger(true, Some("rdkafka=trace"));