Example from the Yast Registration module:

```ruby
SccApi::GlobalLogger.instance.log = Yast::Y2Logger.instance
```

`SccApi::GlobalLogger` is the `scc_api` gem logger, `Yast::Y2Logger` is the standard Yast logger (writing to `/var/log/YaST2/y2log`).

With this code the external gem can write to Yast `y2log` in the default Yast format.
See https://github.com/yast/yast-registration/blob/master/src/lib/yast/scc_api.rb#L31

What we actually need is to pass `Yast::Y2Logger` to suse_connect to use it for logging.