code: public void error(String message) {
          if (loggingService == null) {
              System.err.println(message);
              return;
          }
          loggingService.error(pluginId, loggerName, message);
      }
docs: Messages to be logged in error mode.
  
  @param message a string containing the message to be logged.