code: public boolean log(Object context, int level, String message)
      {
          if (!(context instanceof BundleContext))
              return false;
          BundleContext bundleContext = (BundleContext)context;
          ServiceReference reference = bundleContext.getServiceReference(LogService.class.getName());
          if (reference != null)
          {
              LogService logging = (LogService)bundleContext.getService(reference);
              if (logging != null)
              {
                  logging.log(level, message);
                  return true;
              }
          }
          return false;
      }
docs: Log this message.
  @param bundleContext
  @param level
  @param message