Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Can't get logging to console to work
Can't get logging to console to work [message #593137] Wed, 11 March 2009 14:24
Andy is currently offline AndyFriend
Messages: 47
Registered: July 2009
Member
I am trying to get a simple message to log to the console from my plugin.
Alas, nothing appears to work, except System.out.println.

I tried to use the info here:

http://wiki.eclipse.org/FAQ_How_do_I_use_the_platform_loggin g_facility%3F

and in my code this is what I have

ILog logger = Activator.getDefault().getLog();
IStatus status = new Status(IStatus.ERROR, Activator.PLUGIN_ID, " the
error text that I want on the console " );
logger.log(status);

Not only does it not show up in the console, it doesn't show up in the
log file either. Nor do I even get any kind of error message! Is this a
bug or am I missing something? Thanks.

Andy
Previous Topic:Can't get logging to console to work
Next Topic:Leveraging OSGi and dynamic bundle loading
Goto Forum:
  


Current Time: Fri Apr 19 11:07:05 GMT 2024

Powered by FUDForum. Page generated in 0.01481 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top