diff --git a/library/src/main/java/com/socks/library/KLog.java b/library/src/main/java/com/socks/library/KLog.java index 4245803..6cd2106 100644 --- a/library/src/main/java/com/socks/library/KLog.java +++ b/library/src/main/java/com/socks/library/KLog.java @@ -319,9 +319,11 @@ private static String getObjectsString(Object... objects) { } } return stringBuilder.toString(); - } else { + } else if (objects.length == 1){ Object object = objects[0]; return object == null ? NULL : object.toString(); + } else { + return NULL; } }