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 #50199] 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:Externalizing strings to feature.properties fails
Next Topic:Can't get logging to console to work
Goto Forum:
  


Current Time: Sat Jun 19 10:49:36 GMT 2021

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

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

Back to the top