Set RCLONE logging level via RPC

Running rclone with:

rclone rc options/set --json '{"main": {"LogLevel": "DEBUG"}}'

will require running HTTP server and rclone installation. I prefer to use it as a go module with librclone.

If LogLevel and LofFile options cannot be set via librclone.RPC would it possible to set the ReturnType via librclone.RPC call for sync/copy commands?
I'm not sure if ReturnType is a valid option for sync/copy commands. In docs I found it in the core/command description.