/ \copydoc Plop::LoggerInterface::warning().
17393
public function warning(
        $msg,
        array $args = array(),
        \Exception $exception = null
    ) {
        return $this->log(\Plop\WARNING, $msg, $args, $exception);
    }
1284203
function printWarning(context, kind, err)
{
	if (context !== null) {
		console.error('warn: %s: %s', context.label(), err.message);
	} else {
		console.error('warn: %s', err.message);
	}
}
813052
def warning(*args):
    """"""
    if sys.stdin.isatty():
        print('WARNING:', *args, file=sys.stderr)
    else:
        notify_warning(*args)
1156900
public function warnf()
    {
        $args = func_get_args();
        $format = array_shift($args);
        $this->warn(vsprintf($format, $args));
    }
312926
public function warning(string $message, array $context = []){
        if($this->logger !== null){
            $this->warning($message, $context);
        }

        if($this->messagePanel !== null){
            $this->messagePanel->addMessage($message, LogLevel::WARNING);
        }
    }
363225
def warning(self, *args) -> "Err":
        
        error = self._create_err("warning", *args)
        print(self._errmsg(error))
        return error
769631
def warning(self, message, print_location=True):
        """"""
        msg = "Warning"
        if print_location and (exshared.location != None):
            wline = lineno(exshared.location, exshared.text)
            wcol = col(exshared.location, exshared.text)
            wtext = line(exshared.location, exshared.text)
            msg += " at line %d, col %d" % (wline, wcol)
        msg += ": %s" % message
        if print_location and (exshared.location != None):
            msg += "\n%s" % wtext
        print(msg)
345
public static void warn(Log log, String format, Object... arguments) {
		warn(log, null, format, arguments);
	}
550717
def warn_sf(messages, response, verbs=None, klass=SalesforceWarning):
    """"""
    warnings.warn(klass(messages, response, verbs), stacklevel=2)
576678
function warning() {
  var args = [LEVELS.WARNING].concat(slice.apply(arguments));
  return this.log.apply(this, args);
}
881541
def echo_warnings_via_pager(warnings: List[WarningTuple], sep: str = '\t') -> None:
    """"""
    # Exit if no warnings
    if not warnings:
        click.echo('Congratulations! No warnings.')
        sys.exit(0)

    max_line_width = max(
        len(str(exc.line_number))
        for _, exc, _ in warnings
    )

    max_warning_width = max(
        len(exc.__class__.__name__)
        for _, exc, _ in warnings
    )

    s1 = '{:>' + str(max_line_width) + '}' + sep
    s2 = '{:>' + str(max_warning_width) + '}' + sep

    def _make_line(path: str, exc: BELParserWarning):
        s = click.style(path, fg='cyan') + sep
        s += click.style(s1.format(exc.line_number), fg='blue', bold=True)
        s += click.style(s2.format(exc.__class__.__name__),
                         fg=('red' if exc.__class__.__name__.endswith('Error') else 'yellow'))
        s += click.style(exc.line, bold=True) + sep
        s += click.style(str(exc))
        return s

    click.echo_via_pager('\n'.join(
        _make_line(path, exc)
        for path, exc, _ in warnings
    ))
368858
protected function logWarning($message, array $context = [])
    {
        $this->hasLogger() === true ?: $this->logger->warning($message, $context);
    }
1100992
def warn(self,message):
        
        s = str(datetime.now()) + " WARNING: " + message + '\n'
        if self.echo:
            print(s,end='')
        if self.filename:
            self.f.write(s)
            self.f.flush
        warnings.warn(s,PyemuWarning)
849544
def log_warn(message, args):
    """"""
    get_logger(DEFAULT_LOGGER, log_creation=False).log(logging.WARNING, message, *args)
35002
@Override
    public void handleWarning(Source source, int line, int column,
            String msg)
            throws LexerException {
        warnings++;
        print(source.getName() + ":" + line + ":" + column
                + ": warning: " + msg);
    }
735532
def warn(self, message, *args, **kwargs):
        
        self._log(logging.WARNING, message, *args, **kwargs)
467545
public static function warning( $message, $context = array(), $extra = null )
    {
        return static::log( $message, LoggingLevels::WARNING, $context, $extra );
    }