Can't get logging to console to work [message #50199] |
Wed, 11 March 2009 10:24 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.02502 seconds