Report a message to Rollbar, specifying the level.

@param message the message to send.
@param level the severity level.
480686
@Deprecated
  public static void reportMessage(final String message, final String level) {
    reportMessage(message, level, null);
  }
261614
public void log(int level, String message) {

        switch (level) {
        case LOG_DEBUG:
            delegate.debug(message);
            break;
        case LOG_ERROR:
            delegate.error(message);
            break;
        case LOG_INFO:
            delegate.info(message);
            break;
        case LOG_WARNING:
            delegate.warn(message);
            break;
        default:
            break;
        }
    }
953817
public void sendConsoleMessage(Level level, String msg) {
        if (!(getServerCaller() instanceof UnitTestServerCaller)) {
            getLogger().log(level, msg);
        }
    }
1303028
public void warn(Object message)
    {
        if (IS12)
        {
            getLogger().log(FQCN, Level.WARN, message, null);
        }
        else
        {
            getLogger().log(FQCN, Level.WARN, message, null);
        }
    }
216190
public static void warn(Object message) {
		log(Level.WARN, message, null, (Object[])null);
	}
1305455
function (message) {
        if (this.isEnabled(Level.INFO)) {
            console.info.apply(console, logArgs(Level.INFO, this.category, arguments));
        }
    }
1047881
function (message) {
        if (this.isEnabled(Level.WARN)) {
            console.warn.apply(console, logArgs(Level.WARN, this.category, arguments));
        }
    }
645786
public void trace(Object message, Throwable exception) {
    log(Level.TRACE, message, exception);
  }
1190332
public static void error(Object message) {
		log(Level.ERROR, message, null, (Object[])null);
	}
1029209
public void setMessage(String message) {
        this.message = message;
        if (errorMessage == null) {
            logger.debug("Setting status bar message to \"" + message + "\"");
            messageLabel.setText(this.message);
        }
    }
560461
public final void trace(Object message) {

        if (isLevelEnabled(SimpleLog.LOG_LEVEL_TRACE)) {
            log(SimpleLog.LOG_LEVEL_TRACE, message, null);
        }
    }
193478
public void warning(String msg) {
        if (Level.WARNING.intValue() < levelValue) {
            return;
        }
        log(Level.WARNING, msg);
    }
1000256
public void warn(Object message) {
        doLog(Level.WARN, FQCN, message, null, null);
    }
928822
void log(Level level, String msg) {
        if (msg != null && !msg.isEmpty())
            logger.log(level, msg);
    }
1041184
public void warn(final Object message) {
		if (minimumLevelCoversWarn) {
			provider.log(STACKTRACE_DEPTH, tag, Level.WARN, null, message, (Object[]) null);
		}
	}
691649
public final void trace(Object message, Throwable t) {

        if (isLevelEnabled(SimpleLog.LOG_LEVEL_TRACE)) {
            log(SimpleLog.LOG_LEVEL_TRACE, message, t);
        }
    }
508811
private function _log($level, $message)
    {
        $level_config = Config::get("log_level");
        if (!$level_config) {
            $level_config = "DEBUG";
        }

        $level_val = self::$levels[$level];
        $level_config = self::$levels[$level_config];

        if ($level_config > $level_val) {
            return ;
        }

        wlog($level, $message);
    }