Commit 27a413c5 by s_guodong

整理pom

parent 60b399cd
...@@ -81,8 +81,10 @@ public class LogUtil { ...@@ -81,8 +81,10 @@ public class LogUtil {
} }
public static Logger getLogger(Context context) { public static Logger getLogger(Context context) {
Logger log = (Logger) context.getTransactionMap().get(Constants.Log_VAR); if (context != null && context.getTransactionMap() != null && context.getTransactionMap().get(Constants.Log_VAR) != null) {
return log; return (Logger) context.getTransactionMap().get(Constants.Log_VAR);
}
return LoggerFactory.getLogger(LogUtil.class);
} }
public static Logger getTrnLog(String interfaceName, String transactionName, String pre, public static Logger getTrnLog(String interfaceName, String transactionName, String pre,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment