How many log lines will this code output if we set the debug logger level for the logback package?
package logback;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class LogbackExample {
private static final Logger LOG = LoggerFactory.getLogger(LogbackExample.class);
static {
LOG.debug("LogbackExample online");
}
public static void main(String[] args) {
LOG.warn("Logger level online");
LOG.trace("main method online");
LOG.info("All systems nominal");
LOG.trace("Args passed: {}", (Object) args);
LOG.error("no args passed!");
}
}