(self, format_string: str)
Set the text format to format_string. In JSON output mode, this is
        a noop.
Set the text format to format_string. In JSON output mode, this is
        a noop.
Set the text format to format_string . In JSON output mode this is a noop .
def set_text_format(self, format_string: str):
        """Set the text format to format_string. In JSON output mode, this is
        a noop.
        """
        if self.formatter_class is logbook.StringFormatter:
            # reset text format
            self._text_format_string = format_string
            self.format_text()
def set_text_format ( self , format_string : str ) : if self . formatter_class is logbook . StringFormatter : # reset text format self . _text_format_string = format_string self . format_text ( )