def METHOD_NAME() -> None:
    get_workbench().set_default("general.event_logging", False)
    if get_workbench().get_option("general.event_logging"):
        get_workbench().add_command(
            "export_usage_logs", "tools", tr("Export usage logs..."), export, group=110
        )
        filename = _generate_timestamp_file_name("txt")
        # create logger
        EventLogger(filename)