Refactor libretro_log_level