Alias `to_s` to `to_yml`

So that interpolating the Log object into a String works as expected.