def message(<EOL>*tokens: Token,<EOL>end: str = "<STR_LIT:\n>",<EOL>sep: str = "<STR_LIT:U+0020>",<EOL>fileobj: FileObj = sys.stdout,<EOL>update_title: bool = False<EOL>) -> None:
if using_colorama():<EOL><INDENT>global _INITIALIZED<EOL>if not _INITIALIZED:<EOL><INDENT>colorama.init()<EOL>_INITIALIZED = True<EOL><DEDENT><DEDENT>with_color, without_color = process_tokens(tokens, end=end, sep=sep)<EOL>if CONFIG["<STR_LIT>"]:<EOL><INDENT>_MESSAGES.append(without_color)<EOL><DEDENT>if update_title and with_color:<EOL><INDENT>write_title_string(without_color, fileobj)<EOL><DEDENT>to_write = with_color if config_color(fileobj) else without_color<EOL>write_and_flush(fileobj, to_write)<EOL>
Helper method for error, warning, info, debug