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(String auctionId, String msg) {
| String message = String.format("商品ID:%s 错误信息:%s", auctionId + "", msg);
| tljLogger.info(message);
| }
|
| }
|
|