Hi,
Do we need to check whether the isDebugEnabled() for formatted debug logs
without any string concatenations? For example below code:
if (log.isDebugEnabled) {
log.debug("Test log with var: {} and var: {}", var1, var2);
}
If we have to check it is, what is the best way to check it? Assign it to a
final variable in the class header or check it every time where their is a
debug log like above code?
Thanks!
*Jayanga Kaushalya*
Software Engineer
Mobile: +94777860160
WSO2 Inc. | http://wso2.com
lean.enterprise.middleware
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev