def report(self, string='<STR_LIT>', level=<NUM_LIT:0>, prelude='<STR_LIT>', progress=False, abbreviate=True):
if self._mute == False:<EOL><INDENT>self._prefix = prelude + '<STR_LIT>'.format(name = self.nametag, spacing = '<STR_LIT:U+0020>'*level)<EOL>self._prefix = "<STR_LIT>".format(self._prefix)<EOL>equalspaces = '<STR_LIT:U+0020>'*len(self._prefix)<EOL>toprint = string + '<STR_LIT>'<EOL>if abbreviate:<EOL><INDENT>if shortcuts is not None:<EOL><INDENT>for k in shortcuts.keys():<EOL><INDENT>toprint = toprint.replace(k, shortcuts[k])<EOL><DEDENT><DEDENT><DEDENT>if progress:<EOL><INDENT>print('<STR_LIT:\r>' + self._prefix + toprint.replace('<STR_LIT:\n>', '<STR_LIT:\n>' + equalspaces),)<EOL><DEDENT>else:<EOL><INDENT>print(self._prefix + toprint.replace('<STR_LIT:\n>', '<STR_LIT:\n>' + equalspaces))<EOL><DEDENT><DEDENT>
If verbose=True, this will print to terminal. Otherwise, it won't.