What is the reason to check for `logger.isTraceEnabled()` and then log via `logger.error`?