Let me try to summarize it,
- Better performance
The message string is constructed on demand (logging level is checked inside 
the method)
- Better readability
Reduce unnecessary logging guard (logger.isXXXEnabled())
More uniquely code style of string construction. (Avoid complex string 
concatenate with "+" or String.format("xxx"))
Similar grammar with existing modern logging framework like SLF4J

So, should we or is it worthy to do it?

[ Full content available at: 
https://github.com/apache/incubator-dubbo/issues/3306 ]
This message was relayed via gitbox.apache.org for 
[email protected]

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to