Felix,

I'm just nit picking, but...

On Mar 3, 2013, at 14:54 PM, [email protected] wrote:

> +    public static void log(final ServiceReference sr, final int level, final 
> String message, final Throwable exception)
> +    {
> +        Object logService = Activator.logService;
> +        if (logService != null)
> +        {
> +            ((LogService) logService).log(sr, level, message, exception);

When you invoke the log service here, it can always throw a runtime exception. 
Maybe you want to assume that in that case, your log message has not been 
received and revert to logging it to stdout as well?

Greetings, Marcel

Reply via email to