
cn.featherfly.common.lang.LogUtils Maven / Gradle / Ivy
/**
* @author zhongj - yufei Feb 25, 2009
*/
package cn.featherfly.common.lang;
import java.lang.reflect.Field;
import java.util.function.Supplier;
import org.apache.commons.lang3.exception.ExceptionUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* The Class LogUtils.
*
* @author zhongj - yufei
*/
public class LogUtils {
/** The Constant LOGGER. */
private static final Logger LOGGER = LoggerFactory.getLogger(LogUtils.class);
/**
* Instantiates a new log utils.
*/
public LogUtils() {
}
/**
* trace.
*
* @param logger the logger
* @param msg the msg
* @param supplier the supplier
*/
public static void trace(Logger logger, String msg, Supplier
© 2015 - 2025 Weber Informatics LLC | Privacy Policy