def format(self, record):
    """Appends the message from the record to the results of the prefix.

    Args:
      record: logging.LogRecord, the record to be formatted.

    Returns:
      The formatted string representing the record.
    """
    if (not FLAGS['showprefixforinfo'].value and
        FLAGS['verbosity'].value == converter.ABSL_INFO and
        record.levelno == logging.INFO and
        _absl_handler.python_handler.stream == sys.stderr):
      prefix = ''
    else:
      prefix = get_absl_log_prefix(record)
    return prefix + super(PythonFormatter, self).format(record)
def format ( self , record ) : if ( not FLAGS [ 'showprefixforinfo' ] . value and FLAGS [ 'verbosity' ] . value == converter . ABSL_INFO and record . levelno == logging . INFO and _absl_handler . python_handler . stream == sys . stderr ) : prefix = '' else : prefix = get_absl_log_prefix ( record ) return prefix + super ( PythonFormatter , self ) . format ( record )
Appends the message from the record to the results of the prefix.

    Args:
      record: logging.LogRecord, the record to be formatted.

    Returns:
      The formatted string representing the record.