What is the correct way to initialize Slf4j LoggerFactory.getLogger? I have in my code
static final Logger logger = LoggerFactory.getLogger(MyClass.class);
Constants (static final) variables are generally in upper case in Java. So you can either:
logger
LOG