def out(format_msg="<STR_LIT>", *args, **kwargs):
logmethod = kwargs.get("<STR_LIT>", stdout.info)<EOL>if format_msg != "<STR_LIT>":<EOL><INDENT>if Prefix.has():<EOL><INDENT>if isinstance(format_msg, basestring):<EOL><INDENT>format_msg = Prefix.get() + format_msg<EOL><DEDENT>else:<EOL><INDENT>format_msg = Prefix.get() + str(format_msg)<EOL><DEDENT><DEDENT>if isinstance(format_msg, basestring):<EOL><INDENT>if args or kwargs:<EOL><INDENT>s = format_msg.format(*args, **kwargs)<EOL><DEDENT>else:<EOL><INDENT>s = format_msg<EOL><DEDENT>logmethod(s)<EOL><INDENT>width = globals()["<STR_LIT:width>"]<EOL>s = textwrap.fill(s, width=width)<EOL>stdout.info(s)<EOL><DEDENT><DEDENT>else:<EOL><INDENT>logmethod(str(format_msg))<EOL><DEDENT><DEDENT>else:<EOL><INDENT>logmethod("<STR_LIT>")<EOL><DEDENT>
print format_msg to stdout, taking into account --quiet setting