for example I want to replace before compilation:
#debug("${enclosing_method} this is debug message for " + userName)
with:
if (log.isDebugEnabled())
{
log.debug("<real method name> this is debug message for " + userName);
}
Don't. Use slf4j instead which allows you to avoid the check with {}.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With