Skip to content

Commit 668ca6b

Browse files
committed
modify Readme fix print log
1 parent 5ba489b commit 668ca6b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@
256256
RegisterInfo[] regUsers = new RegisterInfo[users.size()];
257257
258258
String res = client.registerUsers(users.toArray(regUsers));
259-
System.out.println(res);
259+
LOG.info(res);
260260
} catch (APIConnectionException e) {
261261
LOG.error("Connection error. Should retry later. ", e);
262262
} catch (APIRequestException e) {
@@ -274,7 +274,7 @@
274274
JMessageClient client = new JMessageClient(appkey, masterSecret);
275275
try {
276276
String res = client.createGroup("test_user", "test_gname1", "description", "test_user");
277-
System.out.println(res);
277+
LOG.info(res);
278278
} catch (APIConnectionException e) {
279279
LOG.error("Connection error. Should retry later. ", e);
280280
} catch (APIRequestException e) {

0 commit comments

Comments
 (0)