Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipse-dev] Logging in Eclipse IDE plug-ins without activator?


what is the recommended way of logging in an Eclipse IDE plug-in these
days if a plug-in does not have an activator?

I see several implementations in our platform code:

* AbstractUIPlugin#getLog
* Activator.getDefault().getLogService()
* InternalPlatform.log
* (e4 services)
* org.eclipse.core.databinding.observable has a Policy class for logging
* RuntimeLog.log had a length
discussion but no resolution as far as I can tell no preferred way
emerged from this discussion.

Thomas Watson mentioned that the OSGi LogService has been reworked,
see Is using
this service now the best way to log in plug-in code?

Best regards, Lars

Eclipse Platform project co-lead
CEO vogella GmbH

Haindaalwisch 17a, 22395 Hamburg
Amtsgericht Hamburg: HRB 127058
Geschäftsführer: Lars Vogel, Jennifer Nerlich de Vogel
USt-IdNr.: DE284122352
Fax (040) 5247 6322, Email: lars.vogel@xxxxxxxxxxx, Web:

Back to the top