CoolIceV commented on PR #1955:
URL: https://github.com/apache/dubbo-go/pull/1955#issuecomment-1176850436

   > %s print time, eventually the String() function is called as well。 If must 
print the time, you can make a special note。 this should not matter in debug 
print log mode
   
   I've now just delayed the String() call, meaning that if I don't want to 
print the log, I won't call the String() method, the original code would have 
called it whether or not the log was printed.
   Original:
   
![image](https://user-images.githubusercontent.com/42159666/177658797-e647086f-9386-4afd-8ebb-84ed56eba4bb.png)
   Modified:
   
![image](https://user-images.githubusercontent.com/42159666/177658819-02ce4b22-70a1-4b84-88b5-fa16dfe51aa6.png)
   


-- 
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]

Reply via email to