Log a warning so that any application slow down is immediately obvious.
187688
def log_retry(e, options = nil)
      message = if options && options[:message]
        options[:message]
      else
        "Retry"
      end
      Logger.logger.warn "#{message} due to: #{e.class.name} #{e.message}"
    end
785691
def log_handler(level: str, message: str) -> None:
    """"""
    message = 'JS: ' + str(message)
    if level == 'error':
        logger.error(message)
    elif level == 'warn':
        logger.warning(message)
    elif level == 'info':
        logger.info(message)
    elif level == 'debug':
        logger.debug(message)
54424
def notice(self, msg, *args, **kw):
        """"""
        if self.isEnabledFor(NOTICE):
            self._log(NOTICE, msg, args, **kw)
813052
def warning(*args):
    """"""
    if sys.stdin.isatty():
        print('WARNING:', *args, file=sys.stderr)
    else:
        notify_warning(*args)
1202167
def warning(request, message, extra_tags='', fail_silently=False, async=False):
    """"""
    if ASYNC and async:
        messages.debug(_get_user(request), message)
    else:
        add_message(request, constants.WARNING, message, extra_tags=extra_tags,
                    fail_silently=fail_silently)
161557
def warn(msg, level=0, prefix=True):
    
    if will_print(level):
        printer(("WARNING: " if prefix else "") + msg, "yellow")
714757
def my_log_message(verbose, prio, msg):
    
    syslog.syslog(prio, msg)
    if verbose or prio == syslog.LOG_ERR:
        sys.stderr.write("%s\n" % (msg))
1078147
def warn(self, msg, whitespace_strp=True):
        
        if self.errors_display:
            if whitespace_strp:
                msg = strip_whitespace(msg)

            if not self.log_to_file:
                msg = colors['warn'] + "[+] " + msg + colors['endc']
            else:
                msg = "[" + time.strftime("%c") + "] " + msg

            self.print(msg, file=self.error_log)
7222
def log(self, msg, *args):
        """"""
        if args:
            msg %= args
        click.echo(msg, file=sys.stderr)
226577
function (latest_log) {
		if (latest_log !== null && latest_log.type !== "SYSTEM_DOWN") {
			LOG.warn("server crashed last time", 'handlers.system');
			LOG.event("SYSTEM_CRASHED", SR.Settings.SERVER_INFO);
		}

		LOG.event("SYSTEM_UP", SR.Settings.SERVER_INFO);
	}
201887
def warn (logname, msg, *args, **kwargs):
    
    log = logging.getLogger(logname)
    if log.isEnabledFor(logging.WARN):
        _log(log.warn, msg, args, **kwargs)
576678
function warning() {
  var args = [LEVELS.WARNING].concat(slice.apply(arguments));
  return this.log.apply(this, args);
}
95237
def warning (self, msg, pos=None):
    """"""
    self.log(msg, 'warning: ' + self.location(pos))
1316370
def log_verbose(self, message):
        
        if self.get_verbosity() >= Output.VERBOSITY_VERBOSE:
            self.writeln(message)
735532
def warn(self, message, *args, **kwargs):
        
        self._log(logging.WARNING, message, *args, **kwargs)
1041192
def log_message(self, msg, *args):
        """"""
        if args:
            msg = msg % args
        self.logger.info(msg)
721328
def log(severity, message, tid)
      now = Time.now
      ss = ['DEBUG', 'INFO', 'WARN', 'ERROR', 'FATAL'][severity]
      ss = '' if ss.nil?
      if @formatter.nil?
        msg = "#{ss[0]}, [#{now.strftime('%Y-%m-%dT%H:%M:%S.%6N')} ##{tid}]  #{ss} -- : #{message}\n"
      else
        msg = @formatter.call(ss, now, tid, message)
      end
      @logger.add(severity, msg)
      @forward.log(severity, message, tid) unless @forward.nil?
    end