Currently, the log level for C API is hardcoded as INFO:
|
bool isEnabled(Level level) { return level >= pulsar::Logger::LEVEL_INFO; } |
Therefore, we cannot get the debug log in the C API or Nodejs client. It's better to support setting the log level for PulsarCLogger.
Currently, the log level for C API is hardcoded as
INFO:pulsar-client-cpp/lib/c/c_ClientConfiguration.cc
Line 81 in 7a7b3aa
Therefore, we cannot get the debug log in the C API or Nodejs client. It's better to support setting the log level for PulsarCLogger.