Need to check `logger..isDebugEnabled()` and whitespaces too.