public static String intentToString(Intent intent) {
    if (intent == null) {
      return "null";
    }

    StringBuilder b = new StringBuilder(128);
    b.append("Intent { ");
    intentToShortString(intent, b);
    b.append(" }");
    return b.toString();
  }
Intent object to string, the string would be in the format of "Intent { ... }".
xlog/src/main/java/com/elvishew/xlog/internal/util/ObjectToStringUtil.java