Fixpoint
Fixpoint

Reputation: 9870

How to output LogCat to Console?

Is there a way to make LogCat's output to appear in Console view in Eclipse?

LogCat view is much less convenient that Console, because it's hard to see long messages in it (they are trimmed by column border) and there are no clickable highlighting in exception stack traces to quickly navigate to source of error.

Just to make clear - I'd like to have clickable stacktraces, like the ones in normal Eclipse console so I can quickly navigate to the source of error.

Upvotes: 8

Views: 7643

Answers (5)

JRL
JRL

Reputation: 78033

Requires an extra step, but you can copy and paste into the Console Stack Trace View, and you then get the clickable links. Just select any or all lines from Logcat, copy, and paste them in the Console (select Java Stack Trace in the Console Display button first).

Upvotes: 4

TheCodeArtist
TheCodeArtist

Reputation: 22497

You might want to use the LOGBACK plugin ;-)

http://logback.qos.ch/consolePlugin.html

GOOD LUCK!!

Upvotes: 0

dev_in
dev_in

Reputation:

I was also having the same issue. I tried ddms instead of logcat, it doesn't put up in Eclipse but it solves my problem. It displays the logs in different colors so that i can view and differentiate them easily.... Thanks....

Upvotes: 1

Vishwanath
Vishwanath

Reputation: 1022

Instead Logcat, try ddms. It puts the log messages differentiated based on their type and you'll have much more control over log message filtering in ddms.

This binary is located in the same place where logcat is located. So no worries.... instead of typing out logcat, type ddms in console.

Upvotes: -1

MrBuBBLs
MrBuBBLs

Reputation: 455

I don't think it's possible. You could just move the Logcat to another place. e.g. In the bottom of Eclipse. Just drag&drop it by grabing its tab.

Upvotes: 0

Related Questions