def METHOD_NAME(enable_debug):
    """
    Initialize logger
      enable_debug: show debug messages in console
      :type enable_debug: bool
    """
    level = logging.DEBUG if enable_debug else logging.INFO
    con_handler = logging.StreamHandler()
    con_handler.setLevel(level)
    _LOGGER.setLevel(level)
    _LOGGER.addHandler(con_handler)