Adds a persistant message with the ``WARNING`` level.
422176
def persistant_warning(request, message, extra_tags='', fail_silently=False, *args, **kwargs):
    
    add_message(request, WARNING_PERSISTENT, message, extra_tags=extra_tags,
                fail_silently=fail_silently, *args, **kwargs)
404934
def add_status_message(self, message, level="info"):
        
        return self.context.plone_utils.addPortalMessage(message, level)
161557
def warn(msg, level=0, prefix=True):
    
    if will_print(level):
        printer(("WARNING: " if prefix else "") + msg, "yellow")
498943
def add_warning (self, s, tag=None):
        
        item = (tag, s)
        if item not in self.warnings and \
           tag not in self.aggregate.config["ignorewarnings"]:
            self.warnings.append(item)
1124015
def add(severity, message = nil, progname = nil, &block)
      return if @level > severity
      message = (message || (block && block.call) || progname).to_s
      message = formatter.call(formatter.number_to_severity(severity), Time.now.utc, progname, message)
      message = "#{message}\n" unless message[-1] == ?\n
      buffer << message
      auto_flush
      message
    end
1098991
public final void warn(Object message, Throwable t) {
        if (isLevelEnabled(LOG_LEVEL_WARN)) {
            log(LOG_LEVEL_WARN, message, t);
        }
    }
1041688
def AddWarning(self, warning):
    
    self._RaiseIfNotWritable()

    self._AddAttributeContainer(
        self._CONTAINER_TYPE_EXTRACTION_WARNING, warning)
1355990
public void warn(final String message) {
        messages.add(new LogMessage(message, LogMessage.Type.WARN));
        log.warn(message);
    }
152329
public static void warn(String message) {
        if (Boolean.getBoolean("visibleassertions.silence")) {
            return;
        }

        System.out.println("        " + yellow(bright(WARN_MARK + " " + message)));
    }
48653
def add_warning(self, key, *args, **kwargs):
        
        self._deprecations[key] = (args, kwargs)
279915
public void put(DelayableImmutableMessage delayableImmutableMessage) {
        if (messagePersister.persist(messageQueueId, delayableImmutableMessage)) {
            logger.trace("Message {} was persisted for messageQueueId {}",
                         delayableImmutableMessage.getMessage(),
                         messageQueueId);
        } else {
            logger.trace("Message {} was not persisted for messageQueueId {}",
                         delayableImmutableMessage.getMessage(),
                         messageQueueId);
        }
        delayableImmutableMessages.put(delayableImmutableMessage);
    }
1270070
def add_message(self, text, type=None):
        """"""
        key = self._msg_key
        self.setdefault(key, [])
        self[key].append(message(type, text))
        self.save()
1047881
function (message) {
        if (this.isEnabled(Level.WARN)) {
            console.warn.apply(console, logArgs(Level.WARN, this.category, arguments));
        }
    }
928671
@Override public void addWarning(String message) {
		ast.printMessage(Diagnostic.Kind.WARNING, message, this, null, false);
	}
1189450
def warn(self, msg):
        
        self.warnings.append(
            self.state.document.reporter.warning(msg, line=self.lineno)
        )
1298036
def warn(self, text=None):
        
        return self.stop_and_persist(symbol=LogSymbols.WARNING.value, text=text)
216190
public static void warn(Object message) {
		log(Level.WARN, message, null, (Object[])null);
	}