Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] Avoid usage of RuntimeLog.log

I am wondering why anything outside of core.runtime and equinox would be using this.  Shouldn't you be using one of the following to get an ILog object?

org.eclipse.core.runtime.Plugin.getLog()
org.eclipse.core.runtime.Platform.getLog(Bundle)

In Equinox everything eventually ends up going through the OSGi LogService API.  But the ILog stuff from Eclipse has additional listener support.  So if the UI bundles stop using the ILog API then anything using ILog to listen for log entries from the UI may miss them.

Tom





From:        Lars Vogel <lars.vogel@xxxxxxxxxxx>
To:        Equinox development mailing list <equinox-dev@xxxxxxxxxxx>
Date:        05/30/2016 04:58 PM
Subject:        [equinox-dev] Avoid usage of RuntimeLog.log
Sent by:        equinox-dev-bounces@xxxxxxxxxxx




Hi,

in Platform UI we use in several places RuntimeLog.log which is internal API.

Does Equinox provide an official logging API which we should switch to?

Best regards, Lars

--
Eclipse Platform UI and e4 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:
http://www.vogella.com
_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/equinox-dev



Back to the top