首页 > 其他分享 >LogUtil

LogUtil

时间:2022-11-03 10:26:47浏览次数:40  
标签:logValues static LogUtil import Logger public

package com.spatio.clotho.risk.util;

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);
}
}

标签:logValues,static,LogUtil,import,Logger,public
From: https://www.cnblogs.com/yanlai/p/16853550.html

相关文章