[equinox-dev] Accessing the log without Activator (extends Plugin)

2015-10-07 Thread Lars Vogel
Hi, in my Activator based on Plugin, I have this nice method: MyActivator.getDefault().getLog() which is basically Plugin.getLog(). What is the correct way to access the ILog in OSGi without an Activator? Best regards, Lars -- Eclipse Platform UI and e4 project co-lead CEO vogella GmbH

Re: [equinox-dev] Accessing the log without Activator (extends Plugin)

2015-10-07 Thread Neil Bartlett
Looking at the source code, ILog is not an OSGi service but is constructed as a wrapper object around the OSGi LogService. The relevant code is in org.eclipse.core.internal.runtime.InternalPlatform. Do you need the full functionality of an ILog, or is standard OSGi LogService sufficient? If