Android Logcat: How do I output a log message with a TAB character?

Viewed 7222

In Java, System.out.printf("\t") gives a TAB character in the Console.

I wanted to have that function in the Logcat DDMS, by outputting a TAB character in my log message.

public void testLogMessage(){
    Log.d("Test", "TAB: " + "\t" + "AAAAAAAA" + "\t" + "AAAAAAAAA");
}

However, in the Logcat, I do not see the TAB character in the A's.

If possible, how should I output the TAB character in the Logcat? Thanks in advance.

EDIT:

Probably I didn't make my question clear. I want to show up the TAB control character on this:

Logcat

I just could not get the TAB character to show up. Thanks in advance.

1 Answers
Related