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