Here you can find the source of printResponseLog(String res)
public static void printResponseLog(String res)
//package com.java2s; /**//from w w w . j a va 2 s.c o m * * Licensed Property to China UnionPay Co., Ltd. * * (C) Copyright of China UnionPay Co., Ltd. 2010 * All Rights Reserved. * * * Modification History: * ============================================================================= * Author Date Description * ------------ ---------- --------------------------------------------------- * xshu 2014-05-28 ????????? * ============================================================================= */ import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class Main { private final static Logger GATELOG_MESSAGE = LoggerFactory.getLogger("SDK_MSG_LOG"); final static String LOG_STRING_RSP_MSG_BEGIN = "============================== SDK RSP MSG BEGIN =============================="; final static String LOG_STRING_RSP_MSG_END = "============================== SDK RSP MSG END =============================="; public static void printResponseLog(String res) { writeMessage(LOG_STRING_RSP_MSG_BEGIN); writeMessage(res); writeMessage(LOG_STRING_RSP_MSG_END); } public static void writeMessage(String msg) { GATELOG_MESSAGE.info(msg); } }