Here you can find the source of info(Logger logger, String msg, Object... params)
public static void info(Logger logger, String msg, Object... params)
//package com.java2s; import org.slf4j.Logger; public class Main { public static void info(Logger logger, String msg, Object... params) { if (logger.isInfoEnabled()) { logger.info(String.format(msg, params)); }/*from w ww . j ava2 s . co m*/ } public static void info(Logger logger, String msg) { if (logger.isInfoEnabled()) { logger.info(msg); } } }