Error.

@param log        the log
@param methodName the method name
@param params     the params
433279
public static void error(Logger log, String methodName, Object... params) {
        log.error(buildMethodLogString(methodName, params));
    }
298136
public void logf(Level level, String format, Object param1) {
        if (isEnabled(level)) {
            doLogf(level, FQCN, format, new Object[] { param1 }, null);
        }
    }
668184
def error(self, message, *args, **kwargs):
        
        self._log(logging.ERROR, message, *args, **kwargs)
852999
public static StringBuilder formatErrors( Collection<? extends RoboconfError> errors, Log log ) {

		StringBuilder result = new StringBuilder();
		for( Map.Entry<RoboconfError,String> entry : RoboconfErrorHelpers.formatErrors( errors, null, true ).entrySet()) {
			if( entry.getKey().getErrorCode().getLevel() == ErrorLevel.WARNING )
				log.warn( entry.getValue());
			else
				log.error( entry.getValue());

			result.append( entry.getValue());
			result.append( "\n" );
		}

		return result;
	}
1246878
public static void error(Class<?> clazz, String message, String... values) {
        getLogger(clazz).error(formatString(message, values));
    }
1247139
public static void error(String format, Object... arguments) {
		error(LogFactory.indirectGet(), format, arguments);
	}
812960
public void error(Object message) {
        log(Level.SEVERE, String.valueOf(message), null);
    }
947445
public void errorf(String format, Object... params) {
        doLogf(Level.ERROR, FQCN, format, params, null);
    }
753280
@Override
    @SuppressFBWarnings("DM_EXIT")
    public void logError(String message) {
        System.err.println("Error: " + message);
        System.exit(1);
    }
784112
@Deprecated
    public void error(Object message, Object[] params) {
        doLog(Level.ERROR, FQCN, message, params, null);
    }
1108381
public static void handleException(Logger log, Throwable throwable,
            String methodName, Object... params) {
        if (params.length > 0)
            JMLog.errorForException(log, throwable, methodName, params);
        else
            JMLog.errorForException(log, throwable, methodName);
        increaseErrorCount();
        recordErrorMessageHistory(throwable);
    }
56933
public void errorv(String format, Object... params) {
        doLog(Level.ERROR, FQCN, format, params, null);
    }
680370
void logError(final String message) {
      if(logger != null) {
         try {
            StringBuilder buf = new StringBuilder(name);
            buf.append(":");
            buf.append(message);
            logger.error(buf.toString());            
         } catch(Throwable t) {
            //Ignore - logging should not kill anything
         }
      }
   }
842412
public void logError(String moduleName, String beanName, String methodName)
    {
        Tr.error(tc, ivError.getMessageId(), new Object[] { beanName, moduleName, methodName, ivField });
    }
210008
protected void logException (final Throwable t, final String msg, final Object[] messageParams) {
		logger.error(msg, messageParams, t);
	}
165735
protected void logInParams(I params) {
        String s = "";
        if (params != null) {
            s = inToString(params);
        }
        if (LOG.isTraceEnabled()) {
            LOG.trace("Request params: " + s);
        } else if (LOG.isDebugEnabled()) {
            if (s.length() > 4000)
                s = s.substring(0, 4000) + "...";
            LOG.debug("Request params: " + s);
        }
    }
1090616
public static void warn(Logger log, String methodName) {
        if (log.isWarnEnabled())
            log.warn(buildMethodLogString(methodName));
    }