package com.newvideo.log;
|
|
import org.apache.log4j.Logger;
|
|
public class LogHelper {
|
private static Logger countTimeLogger = Logger.getLogger("countTimeLogger");
|
private static Logger ehcacheLogger = Logger.getLogger("ehcacheLogger");
|
private static Logger iqiyiLogger = Logger.getLogger("iqiyiLogger");
|
private static Logger statistics = Logger.getLogger("statistics");
|
|
public static void countTime(Object obj) {
|
countTimeLogger.info(obj);
|
}
|
|
public static void ehcacheInfo(Object obj) {
|
ehcacheLogger.info(obj);
|
}
|
|
public static void iqiyi(Object obj) {
|
iqiyiLogger.error(obj);
|
}
|
|
public static void statistics(Object obj){
|
statistics.info(obj);
|
}
|
|
}
|