Prints the message, if verbosity is high enough.
555761
def print_message(self, message, verbosity_needed=1):
        
        if self.args.verbosity >= verbosity_needed:
            print(message)
707638
def message(message, verbose_prefix = '', relative_indentation = 2)
      message = verbose_prefix + message if verbose?
      puts_indented message if verbose?

      @indentation_level += relative_indentation
      yield if block_given?
      @indentation_level -= relative_indentation
    end
509543
def msg(message):
    
    to_stdout(" --- {message}".format(message=message))
    if _logger:
        _logger.info(message)
1003824
def verbose_message(self):
        """"""
        if self.threshold is None:
            return 'No threshold'
        return '%.1f is %s than %.1f' % (self.value,
                                         self.adjective,
                                         self.threshold)
1301862
def write_message(msg, indent=False, mtype='standard', caption=False):
    """"""
    if (mtype == 'debug' and config.DEBUG) or (mtype != 'debug' and config.VERBOSE) or mtype == 'error':
        message(msg, indent=indent, mtype=mtype, caption=caption)
819323
def dump(cls, message):
        
        if cls.verbose > 2:
            msg = '[DUMP] %s' % message
            cls.echo(msg)
1110036
def _start_print(self):
        
        if self._start_no_nl:
            sys.stdout.write(self._start_msg)
            sys.stdout.flush()
        else:
            print(self._start_msg)
1206699
def pprint(msg):
    msg_class = msg.__class__.__name__
    msg_size = msg.ByteSize()
    
    if isinstance(msg, proto.FirmwareUpload):
        return "<%s> (%d bytes):\n" % (msg_class, msg_size)
    else:
        return "<%s> (%d bytes):\n%s" % (msg_class, msg_size, msg)
1233743
def __print(self, msg):
        """"""
        self.announce(msg, level=distutils.log.INFO)
1203892
def do_print (self, url_data):
        """"""
        if self.verbose:
            return True
        if self.warnings and url_data.warnings:
            return True
        return not url_data.valid
1316370
def log_verbose(self, message):
        
        if self.get_verbosity() >= Output.VERBOSITY_VERBOSE:
            self.writeln(message)
284953
def _log(self, priority, message, *args, **kwargs):
        
        for arg in args:
            message = message + "\n" + self.pretty_printer.pformat(arg)

        self.logger.log(priority, message)
35633
def _maybe_print(something_to_print, end=None, min_=1, max_=99, verbose=0):
    """"""
    if min_ <= verbose <= max_:
        import sys
        print(something_to_print, end=end)
        sys.stdout.flush()
656292
def _screen(self, s, newline=False):
        """"""
        if self.verbose:
            if newline:
                print(s)
            else:
                print(s, end=' ')
899526
private void verbosePrintln(String format, Object... args) {
        if (mVerboseStream != null) {
            mVerboseStream.println(String.format(format, args));
        }
    }
1279908
def _print_message(self, flag_message=None, color=None, padding=None,
                       reverse=False):
        
        if flag_message:
            flag_message = stdout_encode(flag(flag_message,
                                              color=color if self.pretty else None,
                                              show=False))
            if not reverse:
                print(padd(flag_message, padding),
                      self.format_messages(self.message))
            else:
                print(self.format_messages(self.message),
                      padd(flag_message, padding))
        else:
            print(self.format_messages(self.message))
        self.message = []
1310191
def _printM(self, messages):
        """"""
        if len(messages) == 2:
            print(Style.BRIGHT + messages[0] + Style.RESET_ALL +
                  Fore.BLUE + messages[1] + Style.RESET_ALL)
        else:
            print("Not implemented")