Here you can find the source of warn(String msg)
public static void warn(String msg)
//package com.java2s; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class Main { /** Logger */ private static final Logger logger = LoggerFactory.getLogger("LOGGER"); public static void warn(String msg) { logger.warn(msg);/*from w w w .jav a 2 s . c om*/ } public static void warn(String msg, Throwable e) { logger.warn(msg, e); } }