- [x] I have searched the 
[issues](https://github.com/apache/incubator-dubbo/issues) of this repository 
and believe that this is not a duplicate.
- [x] I have checked the 
[FAQ](https://github.com/apache/incubator-dubbo/blob/master/FAQ.md) of this 
repository and believe that this is not a duplicate.

Our common logger is a logging facade just like SLF4J.
We can enhance it to support parametrized logging

We have many places like this:
```
if (logger.isInfoEnabled()) {
                logger.info("aaa" + "bbb" + "ccc");
}
```
We are using logging guard to avoid unnecessary string concatenate.

With the support of parametrized logging, this can be simplified just like:
```
logger.debug("Hello world {} {} and {}", a, b, c);
```
Similar feature discribed in SLF4j:
https://www.slf4j.org/faq.html#logging_performance

Question: Any other points can be enhanced?

[ 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