Here you can find the source of writeErrorLog(String cont)
public static void writeErrorLog(String cont)
//package com.java2s; /**/*from w w w. ja v a 2s . 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_ERROR = LoggerFactory.getLogger("SDK_ERR_LOG"); public static void writeErrorLog(String cont) { GATELOG_ERROR.error(cont); } public static void writeErrorLog(String cont, Throwable ex) { GATELOG_ERROR.error(cont, ex); } }