Get a logger

Report a typo

Enter the missing part to initialize a logger.

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class Example {
    private static final Logger LOG = _______________________(Example.class);

    public static void main(String[] args) {
        LOG.info("Happy logging!");
    }
}
Enter a short text
___

Create a free account to access the full topic