Yes it's important. It saves the string concatenation that happens before LOG.debug() is called. In some cases it can kill performance, for example when there is debug output in a tight loop.