Eclipse 4 logging interface

261 views
Skip to first unread message

Steve

unread,
Apr 20, 2012, 2:20:22 PM4/20/12
to vogella
Hi Lars,

I've been working through your RCP tutorial.

http://www.vogella.com/articles/Eclipse4RCP/article.html

It's a great introduction and everything seems to work as you say.

I'm stuck, trying to figure out what happens to the log messages that
are pushed through the logger interface:

import org.eclipse.e4.core.services.log.Logger;

...

@Inject
Logger logger;
...

logger.info("UI will start to build");

I figure is should be a simple matter to make the logs visible in a
viewer/console/file both during application development and on
deployment. After many hours on Google and failed attempts I'm still
no closer to solving the mystery.

A few pointers would help greatly (an example would be a godsend).

Thanks, Steve


Lars Vogel

unread,
Apr 27, 2012, 4:03:29 PM4/27/12
to vog...@googlegroups.com
Hi,

if you started your Eclipse 4 application from Eclipse you should see them in the console View of the calling application. An exported app would write to the file system.

Does this help?

Best regards, Lars

2012/4/20 Steve <jones...@gmail.com>


--
You received this message because you are subscribed to the Google Groups "vogella" group.
To post to this group, send email to vog...@googlegroups.com.
To unsubscribe from this group, send email to vogella+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/vogella?hl=en.




--
Lars
http://www.vogella.com - Eclipse, Android and Java Tutorials
http://www.twitter.com/vogella - Lars on Twitter
Reply all
Reply to author
Forward
0 new messages