def get_console_logger():
global __console_logger<EOL>if __console_logger:<EOL><INDENT>return __console_logger<EOL><DEDENT>logger = logging.getLogger("<STR_LIT>")<EOL>logger.setLevel(logging.DEBUG)<EOL>ch = logging.StreamHandler(sys.stdout)<EOL>ch.setLevel(logging.DEBUG)<EOL>formatter = logging.Formatter('<STR_LIT>')<EOL>ch.setFormatter(formatter)<EOL>logger.addHandler(ch)<EOL>__console_logger = logger<EOL>return logger<EOL>
just for kkconst demos