Skip to content

Commit

Permalink
🐳 Non-distinguishable logging calls
Browse files Browse the repository at this point in the history
  • Loading branch information
iohao committed Jul 28, 2024
1 parent 3923724 commit ce438a6
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ public InputCommand ofInputCommandInt(int subCmd) {

public RequestDataDelegate nextParamInt(String paramTips) {
return () -> {
String info = "请输入{} | 参数类型 : {}";
log.info(info, paramTips, int.class);
String info = "请输入{} | 参数类型 : int.class";
log.info(info, paramTips);

int intValue = ScannerKit.nextInt();
return IntValue.of(intValue);
Expand All @@ -153,8 +153,8 @@ public InputCommand ofInputCommandString(int subCmd) {

public RequestDataDelegate nextParamString(String paramTips) {
return () -> {
String info = "请输入{} | 参数类型 : {}";
log.info(info, paramTips, String.class);
String info = "请输入{} | 参数类型 : String.class";
log.info(info, paramTips);
String s = ScannerKit.nextLine();
Objects.requireNonNull(s);

Expand Down

0 comments on commit ce438a6

Please sign in to comment.