package com.spatio.clotho.risk.util;标签:logValues,static,LogUtil,import,Logger,public From: https://www.cnblogs.com/yanlai/p/16853550.html
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* TODO
*
* @author wangyanlai
* @create 2022/11/1
*/
public class LogUtil {
private static final Logger errorLog = LoggerFactory.getLogger("error");
public static void printErrorLog(Exception e, String logFormat, Object... logValues) {
errorLog.info(logFormat, logValues, e);
}
}