Skip to content

Commit

Permalink
Update LogUtil.java
Browse files Browse the repository at this point in the history
Signed-off-by: Eason <[email protected]>
  • Loading branch information
ZhouYixun authored May 17, 2023
1 parent 7bb9164 commit d93d467
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/cloud/sonic/agent/tests/LogUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,13 @@ public void send(JSONObject message) {
message.put("cid", caseId);
message.put("rid", resultId);
message.put("udId", udId);
logger.info(message.toJSONString());
if (type.equals(DeviceStatus.DEBUGGING)) {
sendToWebSocket(WebSocketSessionMap.getSession(sessionId), message);
}
if (type.equals(DeviceStatus.TESTING)) {
sendToServer(message);
}
logger.info(message.toJSONString());
}

/**
Expand Down Expand Up @@ -231,4 +231,4 @@ public void androidInfo(String platform, String version, String udId, String man
+ "<br>设备分辨率:" + size
);
}
}
}

0 comments on commit d93d467

Please sign in to comment.