You can write this in 1 line, after update of slf4j library