code: public void error(String msg, ServiceReference sr) {
          doLog(msg, LOG_ERROR, sr, null );
      }
docs: * Log an error level message. * *
  
  @param msg
  Log message *
  @param sr
  The <code>ServiceReference</code> of the service * that this
  message is associated with.