yj
2020-03-09 0d22020f783fca5c96935512154fd1f91661d434
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package com.yeshi.fanli.log;
 
import org.apache.log4j.Logger;
 
public class TLJLogHelper {
    // log
    private static Logger tljLogger = Logger.getLogger("tljLog");
 
    public static void info(Long auctionId, String msg) {
        String message = String.format("商品ID:%s  错误信息:%s", auctionId + "", msg);
        tljLogger.info(message);
    }
 
}