pulsar-client-cpp
pulsar-client-cpp copied to clipboard
Support setting log level for C Api
Currently, the log level for C API is hardcoded as INFO:
https://github.com/apache/pulsar-client-cpp/blob/7a7b3aa5faa802fa354d2b2e41d38ce22241d700/lib/c/c_ClientConfiguration.cc#L81
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.