-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Instead of doing:
if (LOGGER.isWarnEnabled()) {
LOGGER.warn(format("Exception thrown raising server opening event to listener %s", cur), e);
}
Follow the org.slf4j pattern in the code of:
void warn(String var1, Object... var2);
So then you could do:
LOGGER.warn("Exception thrown raising server opening event to listener {}", cur, e);