The master branch of the repo.(commit ID: 6dd8997f7a0270ca05bf818570ec220c0fe7b127)
After merging #722, since the logger package's init function already sets the global logger to a non-nil value, the common.logger.InitLogger function will always return prematurely, making the logging parameter ClientConfig have no effect at all.
What version of nacos-sdk-go are you using?
The master branch of the repo.(commit ID: 6dd8997f7a0270ca05bf818570ec220c0fe7b127)
After merging #722, since the
logger
package's init function already sets the global logger to a non-nil value, thecommon.logger.InitLogger
function will always return prematurely, making the logging parameterClientConfig
have no effect at all.Please check the following code lines:
We may need to review the code more carefully before accepting the PR.