xavier-niu commented on pull request #1302: URL: https://github.com/apache/dubbo-go/pull/1302#issuecomment-874479428
> > 建议可以使用dubbogo的extension机制,做logger support的扩展 > > extension 包(dubbo.apache.org/dubbo-go/v3/common/extension)里的文件 import 了 logger 包(dubbo.apache.org/dubbo-go/v3/common/logger),如果 logger 使用 extension 机制,我理解的是需要在 logger 的 init 函数里设置 extension.SetLogger() 这样的调用,那么在 logger 将会需要引用 extension 包,这样就会造成循环依赖 。 Yes, you should carefully handle with extension package. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
