dubbo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [dubbo-go] xavier-niu commented on pull request #1302: Ftr: add logrus support
Date Tue, 06 Jul 2021 11:24:20 GMT

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


Mime
View raw message