On 7-Jun-2014, at 2:48 PM, Ashwin Jha <[email protected]> wrote:
> I have implemented the ILoggerProvider with a slf4j wrapper. Regarding the 
> appender, 
> can you elaborate how to access the FrameworkLog instance. I am implementing 
> the appender as a fragment for ch.qos.logback.classic bundle. Is there 
> something 
> else that I am missing?

Uh, good question.  There are a number of different ways to access the log in 
Eclipse, and it’s a bit of a mess.

There’s the Eclipse Platform log, accessed via Platform.getLog(Bundle) that 
returns an ILog.
There’s the OSGi LogService, whose implementation in Equinox talks to the 
Eclipse Log.
There’s the Equinox FrameworkLog, which is accessed as a service.

I get a bit lost figuring out which log to use.  I end up using 
Platform.getLog() since it’s easy.

Brian.

_______________________________________________
e4-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/e4-dev

Reply via email to