Compare Kind references before checking log levels
Assuming reference comparisons are much quicker than checking
likely-nested logger levels, perform the former first.
Also, since the reference can match only one of the instances,
use "else if" to short-circuit the search.
pull/252/merge
David Harkness12 years agocommitted byPhillip Webb
@ -51,36 +51,32 @@ public class AspectJWeaverMessageHandler implements IMessageHandler {
@@ -51,36 +51,32 @@ public class AspectJWeaverMessageHandler implements IMessageHandler {