You shouldn't do this check. It's not necessary and impacts readability. See slf4J manual.