Last active
August 29, 2015 14:11
-
-
Save omegasoft7/e61328a815b467f4878c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static void logOut(String string) { | |
if (string.length() > 3000) { | |
int length = string.length(); | |
String str = string; | |
while (length > 3000) { | |
Log.w("MYAPP", str.substring(0, 3000)); | |
str = str.substring(3000); | |
length = str.length(); | |
} | |
Log.w("MYAPP", str); | |
} else { | |
Log.w("MYAPP", string); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment