louisolive
New Member
What is the best way to print XML-string to the Logcat window? The string I am trying to print out is a actually a StringWriter which contain a lot of data, when I try to print it out the Logcat truncates it and does not print out the whole content (it at least seems like it does not). When I try to print out the length of the StringWriter (\[code\]StringWriter.toString().length()\[/code\]) it turns out to be 500, but as far as I can see the XML-content is longer than that. Is the StringWriter limited to a length of 500?Or are there anyway I can get Logcat to stop truncating the string and print out the whole content instead?