|
@ -1,5 +1,6 @@
|
|
|
package com.yihu.wlyy.logs;
|
|
|
|
|
|
import org.json.JSONObject;
|
|
|
import org.slf4j.Logger;
|
|
|
import org.slf4j.LoggerFactory;
|
|
|
|
|
@ -39,9 +40,9 @@ public class BusinessLogs {
|
|
|
* 业务日志输出
|
|
|
*
|
|
|
* @param type 业务类别
|
|
|
* @param msg 日志信息
|
|
|
* @param info 日志信息
|
|
|
*/
|
|
|
public static void info(BusinessType type, String msg) {
|
|
|
logger.info(type.ordinal() + " - " + msg);
|
|
|
public static void info(BusinessType type, JSONObject info) {
|
|
|
logger.info(type.ordinal() + " - " + info.toString());
|
|
|
}
|
|
|
}
|