I have a class ChildProcess from childprocess gem. It expects me to configure logging this way:
process = ChildProcess.build(...)
process.io.stdout = Tempfile.new("/tmp/file.txt")
However, I don't have a file to log to. Instead, I have an instance of Logger class. I need to find a way to create a wrapper around Logger in order to make it look like an "writeable stream" (I'm not sure what it means in this case, though). Do you know a gem to help me do this?