code: public static void logLong(String TAG, String longString) {
          InputStream is = new ByteArrayInputStream( longString.getBytes() );
          @SuppressWarnings("resource")
          Scanner scan = new Scanner(is);
          while (scan.hasNextLine()) {
              Log.v(TAG, scan.nextLine());
          }
      }
docs: Log long string using verbose tag
  
  @param TAG The tag.
  @param longString The long string.