...and also introduces significant performance overhead.
Currently the logger a) attempts to parse all yielded segments of data as UTF-8, and b) calls logger.debug
with all output. This causes a few problems.
String(data:encoding:)
will fail. This doesn't actually cause any issues, it just returns nil and fails to log, but it does mean that the logging silently doesn't log anything.I see the reason for logging, but I think this currently makes the library less usable in different use-cases. I think a good option would be to:
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too