mirror of
				https://github.com/Telecominfraproject/wlan-cloud-lib-cppkafka.git
				synced 2025-11-04 04:27:48 +00:00 
			
		
		
		
	Merge pull request #136 from accelerated/master
Remove setting log level in the constructor
This commit is contained in:
		@@ -70,7 +70,6 @@ Consumer::Consumer(Configuration config)
 | 
			
		||||
    }
 | 
			
		||||
    rd_kafka_poll_set_consumer(ptr);
 | 
			
		||||
    set_handle(ptr);
 | 
			
		||||
    set_log_level(LogLevel::LogErr);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
Consumer::~Consumer() {
 | 
			
		||||
 
 | 
			
		||||
@@ -53,7 +53,6 @@ Producer::Producer(Configuration config)
 | 
			
		||||
        throw Exception("Failed to create producer handle: " + string(error_buffer));
 | 
			
		||||
    }
 | 
			
		||||
    set_handle(ptr);
 | 
			
		||||
    set_log_level(LogLevel::LogErr);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void Producer::set_payload_policy(PayloadPolicy policy) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user