Change Settings programmatically

Is there a way to change settings programatically?

I want to change the logging level according to the log definitions in my project.
I’m trying to do Settings fmodSettings = Settings.Instance;, but this ends up making the Editor, and I think it’s not correct since it changes the Settings file, which is a ScriptableObject.

Thanks.

That should be possible, you will have to make sure to change it before FMOD is initialized because that is where Debug.Initialize is called.