code: @Deprecated
      public void error(Object message, Object[] params) {
          doLog(Level.ERROR, FQCN, message, params, null);
      }
docs: Issue a log message with parameters with a level of ERROR.
  
  @param message the message
  @param params the message parameters
  @deprecated To log a message with parameters, using {@link #errorv(String, Object...)} is recommended.