You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "Degfy (via GitHub)" <gi...@apache.org> on 2025/05/18 13:02:41 UTC

[I] [Feature] Please Describe the Feature [rocketmq-clients]

Degfy opened a new issue, #998:
URL: https://github.com/apache/rocketmq-clients/issues/998

   ### Programming Language of the Client
   
   Go
   
   ### Is Your Feature Request Related to a Problem?
   
   I want to customize zap.SugaredLogger, such as writing logs to a logging service
   
   https://github.com/apache/rocketmq-clients/blob/4afe70ec472b7a704d0d760dc7f3eb5f2319a11f/golang/log.go#L43
   
   ### Describe the Solution You'd Like
   
   Provide a function to modify the variable `sugarBaseLogger`:
   ```go
   func setLogger(logger *zap.SugaredLogger){
       sugarBaseLogger = logger
   }
   ```
   
   ### Describe Alternatives You've Considered
   
   Add a Func in log.go
   
   ```go
   func setLogger(logger *zap.SugaredLogger){
       sugarBaseLogger = logger
   }
   ```
   
   ### Additional Context
   
   _No response_


-- 
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: commits-unsubscribe@rocketmq.apache.org.apache.org

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


Re: [I] Hope to customize zap.SugaredLogger, such as writing logs to a logging service [rocketmq-clients]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #998:
URL: https://github.com/apache/rocketmq-clients/issues/998#issuecomment-2993840401

   This issue was closed because it has been inactive for 3 days since being marked as stale.


-- 
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: commits-unsubscribe@rocketmq.apache.org

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


Re: [I] Hope to customize zap.SugaredLogger, such as writing logs to a logging service [rocketmq-clients]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #998: Hope to customize zap.SugaredLogger, such as writing logs to a logging service
URL: https://github.com/apache/rocketmq-clients/issues/998


-- 
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: commits-unsubscribe@rocketmq.apache.org

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


Re: [I] Hope to customize zap.SugaredLogger, such as writing logs to a logging service [rocketmq-clients]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #998:
URL: https://github.com/apache/rocketmq-clients/issues/998#issuecomment-2982206254

   This issue is stale because it has been open for 30 days with no activity. It will be closed in 3 days if no further activity occurs.


-- 
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: commits-unsubscribe@rocketmq.apache.org

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