generate a message for loglevel ERROR

@param pObject the message Object
337755
public final void error(Object pObject)
	{
		getLogger().log(FQCN, Level.ERROR, pObject, null);
	}
193817
private static String createLoggingString(Object object)
    {
        if (object == null)
        {
            return "null";
        }
        Class<? extends Object> objectClass = object.getClass();
        if (!objectClass.isArray())
        {
            return String.valueOf(object);
        }
        StringBuilder sb = new StringBuilder();
        int length = Array.getLength(object);
        sb.append("[");
        for (int i = 0; i < length; i++)
        {
            if (i > 0)
            {
                sb.append(", ");
            }
            Object element = Array.get(object, i);
            sb.append(createLoggingString(element));
        }
        sb.append("]");
        return sb.toString();
    }
199188
public final void error(Object message) {

        if (isLevelEnabled(SimpleLog.LOG_LEVEL_ERROR)) {
            log(SimpleLog.LOG_LEVEL_ERROR, message, null);
        }
    }
483446
@Override
    public void error(String msg) {
        log.logIfEnabled(FQCN, Level.ERROR, null, msg, (Object) null);
    }
599327
public void error(String format, Object arg1, Object arg2) {
        formatAndLog(LOG_LEVEL_ERROR, format, arg1, arg2);
    }
1227906
public static void addDeepConsoleLogger(Object object)
    {
        addDeepLogger(object, m -> System.out.println(m));
    }
152999
public static void log(LogLevel logLevel, Object object, String message, String... values) {
        if (Checker.isNull(object)) {
            log(logLevel, message, values);
        } else {
            log(logLevel, object.getClass(), message, values);
        }
    }
597984
public void error(String format, Object arg) {
        formatAndLog(LOG_LEVEL_ERROR, format, arg, null);
    }
617489
public final void error(Object message, Throwable t) {
        if (isLevelEnabled(LOG_LEVEL_ERROR)) {
            log(LOG_LEVEL_ERROR, message, t);
        }
    }
1211719
public void error(Object message) {
        doLog(Level.ERROR, FQCN, message, null, null);
    }
1211912
public void error(Throwable throwable, String msg, Object arg0, Object arg1, Object arg2) {
		logIfEnabled(Level.ERROR, throwable, msg, arg0, arg1, arg2, null);
	}
1192569
public static void logError(BundleContext pBundleContext, String pMessage, Throwable pThrowable) {

        final ServiceReference lRef = pBundleContext.getServiceReference(LogService.class.getName());
        if (lRef != null) {
            try {
                final LogService logService = (LogService) pBundleContext.getService(lRef);
                if (logService != null) {
                    logService.log(LogService.LOG_ERROR, pMessage, pThrowable);
                    return;
                }
            } finally {
                pBundleContext.ungetService(lRef);
            }
        }
        System.err.println("Jolokia-Error: " + pMessage + " : " + pThrowable.getMessage());
    }
641514
@Override
    public void log(Level level, String msg) {
        if (isLoggable(level)) {
            LogRecord logRecord = createLogRecord(level, msg, null, null, null, null, null);
            log(logRecord);
        }
    }
99302
public void error(Throwable error, String description) {
    log(error, null, description, Level.ERROR);
  }
785013
private void extractMessage(JsonObject object) {
        // Prefer to pull the message out of meta
        JsonObject meta = object.getAsJsonObject("meta");
        if (meta != null) {
            JsonPrimitive msg = meta.getAsJsonPrimitive("msg");
            if (msg != null) {
                this.message = msg.getAsString();
                return;
            }
        }

        // Fall back on error
        JsonPrimitive error = object.getAsJsonPrimitive("error");
        if (error != null) {
            this.message = error.getAsString();
            return;
        }

        // Otherwise set a default
        this.message = "Unknown Error";
    }
278860
private void logErrorThrow(String format, Object... args) {
        String msg = MessageFormatter.arrayFormat(format, args).getMessage();
        m_logger.error(msg);
        throw new RuntimeException(msg);
    }
911036
def log_message(self, kind, alert):
        """"""
        if kind == 'ERROR':
            logging.error(alert)
        else:
            logging.warning(alert)
        return