log a message at warn level;
545932
def w(msg, *args, **kwargs):

    '''
    
    '''

    return logging.log(WARN, msg, *args, **kwargs)
345682
def warn(message = nil, ex = nil, data = nil, &block)
      log(WARN, message, ex, data, block)
    end
1041184
public void warn(final Object message) {
		if (minimumLevelCoversWarn) {
			provider.log(STACKTRACE_DEPTH, tag, Level.WARN, null, message, (Object[]) null);
		}
	}
1000256
public void warn(Object message) {
        doLog(Level.WARN, FQCN, message, null, null);
    }
161557
def warn(msg, level=0, prefix=True):
    
    if will_print(level):
        printer(("WARNING: " if prefix else "") + msg, "yellow")
988314
def warning(msg, *args, **kwargs):
    ''''''
    msg = '{0} {1}'.format(yellow(WARNING), msg)
    echo(msg, *args, **kwargs)
925702
public void warn(String format, Object arg1, Object arg2) {
        formatAndLog(LOG_LEVEL_WARN, format, arg1, arg2);
    }
233380
public void warn(String format, Object arg) {
        if (logger.isEnabledFor(Level.WARN)) {
            FormattingTuple ft = MessageFormatter.format(format, arg);
            logger.log(FQCN, Level.WARN, ft.getMessage(), ft.getThrowable());
        }
    }
95237
def warning (self, msg, pos=None):
    """"""
    self.log(msg, 'warning: ' + self.location(pos))
11525
public void warn(String msg) {
        if (logger.isLoggable(Level.WARNING)) {
            log(SELF, Level.WARNING, msg, null);
        }
    }
188536
def logging_on(level=logging.WARNING):
    
    global _is_logging_on

    if not _is_logging_on:
        console = logging.StreamHandler()
        console.setFormatter(logging.Formatter("[%(levelname)s: %(asctime)s :"
                                               " %(name)s] %(message)s",
                                               '%Y-%m-%d %H:%M:%S'))
        console.setLevel(level)
        logging.getLogger('').addHandler(console)
        _is_logging_on = True

    log = logging.getLogger('')
    log.setLevel(level)
    for h in log.handlers:
        h.setLevel(level)
911036
def log_message(self, kind, alert):
        """"""
        if kind == 'ERROR':
            logging.error(alert)
        else:
            logging.warning(alert)
        return
1316674
public void w(String msg, Throwable tr) {
    println(LogLevel.WARN, msg, tr);
  }
148878
public void warn(Object message) {
        differentiatedLog(null, CATEGORY_FQCN, LocationAwareLogger.WARN_INT, message, null);
    }
1146065
def emit_message(self, message, log_level):
        """"""
        self.log(message)
        if log_level == logging.ERROR:
            if self._error_msg_callback:
                self._error_msg_callback(message)
                return

        if log_level == logging.WARNING:
            if self._warning_msg_callback:
                self._warning_msg_callback(message)
                return

        if log_level == logging.INFO:
            if self._info_msg_callback:
                self._info_msg_callback(message)
                return

        if self._msg_callback:
            self._msg_callback(message)
731677
public void warn(Object message, Throwable exception) {
    log(Level.WARN, message, exception);
  }
1077052
public void warn(Object message, Throwable t) {
        differentiatedLog(null, CATEGORY_FQCN, LocationAwareLogger.WARN_INT, message, t);
    }