def logger_init():
    log = logging.getLogger("pyinotify")
    console_handler = logging.StreamHandler()
    console_handler.setFormatter(
        logging.Formatter("[%(asctime)s %(name)s %(levelname)s] %(message)s"))
    log.addHandler(console_handler)
    log.setLevel(20)
    return log
This function Generates main menu page.
dataset/ETHPy150Open seb-m/pyinotify/python2/pyinotify.py/logger_init--crossover with--dataset/ETHPy150Open apache/climate/RCMES/cli_app.py/main_menu