You can also just invert this logic:

"emitter".equals(loggingType)