You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2021/07/06 05:50:25 UTC

[GitHub] [dubbo-go] xavier-niu commented on pull request #1302: Ftr: add logrus support

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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org