| | |
| | | public static boolean isPrintLogcat = true; |
| | | |
| | | //默认打印标题 |
| | | private static String logTitle = "自定义输出打印信息" + (UserConfigManage.getInstance().isBAccount() ? "(B端):" : "(C端):"); |
| | | private static String logTitle = "自定义输出打印信息"; |
| | | |
| | | /** |
| | | * java打印 |
| | |
| | | CustomLogObject customLogObject = new CustomLogObject(); |
| | | customLogObject.msgOrData = msg; |
| | | customLogObject.code = code; |
| | | String json = logTitle; |
| | | String json = logTitle + (UserConfigManage.getInstance().isBAccount() ? "(B端):" : "(C端):"); |
| | | json += customLogObject.getJointMessage(); |
| | | if (isPrintLogcat) { |
| | | System.out.println(json); |