Prints a warning
335824
def debug(self, *msg):
        
        label = colors.yellow("DEBUG")
        self._msg(label, *msg)
1092167
def error(text):
    ''''''
    print(red('✘ {0}'.format(text)))
    sys.stdout.flush()
25744
public static void warn(String msg, Throwable t) {
        if (quietMode)
            return;

        System.err.println(WARN_PREFIX + msg);
        if (t != null) {
            t.printStackTrace();
        }
    }
166393
public void rawWarning(int pos, String msg) {
        if (nwarnings < MaxWarnings && emitWarnings) {
            printRawError(pos, "warning: " + msg);
        }
        prompt();
        nwarnings++;
        errWriter.flush();
    }
98126
public static void printWarn(Object caller, String format, Object... args)
	{
		Object msg = String.format(format, args);
		
		printWarn(caller,msg);
	}
31987
def warning(self, node, reason):
        
        lineno = node.get_lineno()
        self.log_message("Line %d: %s" % (lineno, reason))
95237
def warning (self, msg, pos=None):
    """"""
    self.log(msg, 'warning: ' + self.location(pos))
1233743
def __print(self, msg):
        """"""
        self.announce(msg, level=distutils.log.INFO)
600063
def _PrintWarningsDetails(self, storage):
    
    if not storage.HasWarnings():
      self._output_writer.Write('No warnings stored.\n\n')
      return

    for index, warning in enumerate(storage.GetWarnings()):
      title = 'Warning: {0:d}'.format(index)
      table_view = views.ViewsFactory.GetTableView(
          self._views_format_type, title=title)

      table_view.AddRow(['Message', warning.message])
      table_view.AddRow(['Parser chain', warning.parser_chain])

      path_specification = warning.path_spec.comparable
      for path_index, line in enumerate(path_specification.split('\n')):
        if not line:
          continue

        if path_index == 0:
          table_view.AddRow(['Path specification', line])
        else:
          table_view.AddRow(['', line])

      table_view.Write(self._output_writer)
548338
def log(message, severity="INFO", print_debug=True):
    

    print_me = ['WARNING', 'INFO', 'DEBUG']
    if severity in print_me:
        if severity == 'DEBUG':
            if print_debug:
                print("{0}: {1}".format(severity, message))
        else:
            print("{0}: {1}".format(severity, message))
    else:
        raise Exception("{0}: {1}".format(severity, message))
110015
public static void printWarn(Object caller, Object message)
	{

		StringBuilder text = new StringBuilder();

		Class<?> c = callerBuilder(caller, text);

		if(message instanceof Throwable)
			getLog(c).warn(text.append(stackTrace((Throwable)message)));
		else
			getLog(c).warn(text.append(message));

	}
1024676
def warning(self, message, *args, **kwargs):
        
        self.system.warning(message, *args, **kwargs)
988165
function warn() {
	var msg = util.format.apply(null, Array.prototype.slice.call(arguments, 0));
	write(msg, clc.yellow);
}
192207
@SneakyThrows
    public static void printAsciiArtWarning(final Logger out, final String asciiArt, final String additional) {
        out.warn(ANSI_CYAN);
        out.warn("\n\n".concat(FigletFont.convertOneLine(asciiArt)).concat(additional));
        out.warn(ANSI_RESET);
    }
440082
public void warning(SourcePosition pos, String key, Object... args) {
        printWarning(pos, getText(key, args));
    }
1358758
def _display_big_warning(self, content):
        
        print("")
        print(BOLD + WARNING + "--- WARNING ---" + ENDC)
        print(WARNING + content + ENDC)
        print("")
363541
def pwarning(*args, **kwargs):
    """"""
    if should_msg(kwargs.get("groups", ["warning"])):

        # initialize colorama only if uninitialized
        global colorama_init
        if not colorama_init:
            colorama_init = True
            colorama.init()

        args = indent_text(*args, **kwargs)

        # write to stdout
        sys.stderr.write(colorama.Fore.YELLOW)
        sys.stderr.write("".join(args))
        sys.stderr.write(colorama.Fore.RESET)
        sys.stderr.write("\n")