def METHOD_NAME() -> None:
    formatter = logging.Formatter('%(asctime)s %(levelname)s %(message)s')
    log.setLevel(logging.DEBUG)
    fh = logging.FileHandler(bp+'/ramdisk/smarthome.log', encoding='utf8')
    fh.setLevel(logging.DEBUG)
    fh.setFormatter(formatter)
    log.addHandler(fh)