...
|
...
|
@@ -9,18 +9,26 @@ import org.slf4j.LoggerFactory; |
|
|
public class LoggerUtils {
|
|
|
|
|
|
public static Logger getMqConsumerLogger() {
|
|
|
return LoggerFactory.getLogger("mqConsumerLog");
|
|
|
return buildByName("mqConsumerLog");
|
|
|
}
|
|
|
|
|
|
public static Logger getOrderCloseLogger() {
|
|
|
return LoggerFactory.getLogger("orderCloseLog");
|
|
|
return buildByName("orderCloseLog");
|
|
|
}
|
|
|
|
|
|
public static Logger getMqProducerLogger() {
|
|
|
return LoggerFactory.getLogger("mqProducerLog");
|
|
|
return buildByName("mqProducerLog");
|
|
|
}
|
|
|
|
|
|
public static Logger getPayConfirmLogger(){
|
|
|
return LoggerFactory.getLogger("payConfirmLog");
|
|
|
return buildByName("payConfirmLog");
|
|
|
}
|
|
|
|
|
|
public static Logger getSellerOrderLogger(){
|
|
|
return buildByName("sellerOrderLog");
|
|
|
}
|
|
|
|
|
|
static Logger buildByName(String logName){
|
|
|
return LoggerFactory.getLogger(logName);
|
|
|
}
|
|
|
} |
...
|
...
|
|