Fix #111: Rename LogLevel enums (#112)

This commit is contained in:
Zenon Parker
2018-08-30 14:28:12 -04:00
committed by Matias Fontanini
parent df04b27e22
commit d3ef9cad32
3 changed files with 12 additions and 12 deletions

View File

@@ -101,7 +101,7 @@ public:
try {
// Log it
handle_->get_configuration().get_log_callback()(*handle_,
static_cast<int>(LogLevel::LOG_ERR),
static_cast<int>(LogLevel::LogErr),
library_name,
error_msg.str());
}
@@ -109,7 +109,7 @@ public:
}
else {
rd_kafka_log_print(handle_->get_handle(),
static_cast<int>(LogLevel::LOG_ERR),
static_cast<int>(LogLevel::LogErr),
library_name,
error_msg.str().c_str());
}